Author: baldrick
Date: Sun Jul 15 06:55:54 2007
New Revision: 39869
URL: http://llvm.org/viewvc/llvm-project?rev=39869view=rev
Log:
Check correctness of using decl_with_rtl in LLVM constructs.
Modified:
llvm-gcc-4-2/trunk/gcc/tree.h
Modified: llvm-gcc-4-2/trunk/gcc/tree.h
URL:
Author: baldrick
Date: Sun Jul 15 06:58:12 2007
New Revision: 39870
URL: http://llvm.org/viewvc/llvm-project?rev=39870view=rev
Log:
Move RTL checks inside ifndef ENABLE_LLVM. Restore some logic
from llvm-gcc-4.0 that got lost.
Modified:
llvm-gcc-4-2/trunk/gcc/varasm.c
Modified:
Author: baldrick
Date: Sun Jul 15 07:02:31 2007
New Revision: 39871
URL: http://llvm.org/viewvc/llvm-project?rev=39871view=rev
Log:
Fix a bunch of small problems noticed by the compiler.
Modified:
llvm-gcc-4-2/trunk/gcc/bt-load.c
llvm-gcc-4-2/trunk/gcc/c-common.c
Author: baldrick
Date: Sun Jul 15 07:04:54 2007
New Revision: 39872
URL: http://llvm.org/viewvc/llvm-project?rev=39872view=rev
Log:
Fix misplaced langhook initializer. Apple people take
note: you may want to fix this in your own gcc 4.2 tree.
Modified:
llvm-gcc-4-2/trunk/gcc/langhooks-def.h
Author: asl
Date: Sun Jul 15 08:53:47 2007
New Revision: 39873
URL: http://llvm.org/viewvc/llvm-project?rev=39873view=rev
Log:
Propagate missed patch from llvm-gcc-4.0
Modified:
llvm-gcc-4-2/trunk/gcc/passes.c
Modified: llvm-gcc-4-2/trunk/gcc/passes.c
URL:
Author: asl
Date: Sun Jul 15 10:55:06 2007
New Revision: 39874
URL: http://llvm.org/viewvc/llvm-project?rev=39874view=rev
Log:
My last commit is wrong. gcc internals changed dramatically since 4.01.
Now we have 'cfg gimple' as input for llvm-convert, not just 'gimple'.
Fix the code by cfg
Author: asl
Date: Sun Jul 15 11:04:59 2007
New Revision: 39875
URL: http://llvm.org/viewvc/llvm-project?rev=39875view=rev
Log:
Use more sane way to emit a function: per statement.
Modified:
llvm-gcc-4-2/trunk/gcc/llvm-backend.cpp
Modified: llvm-gcc-4-2/trunk/gcc/llvm-backend.cpp
URL:
Author: asl
Date: Sun Jul 15 11:20:19 2007
New Revision: 39876
URL: http://llvm.org/viewvc/llvm-project?rev=39876view=rev
Log:
Disable two new rtl-related hooks
Modified:
llvm-gcc-4-2/trunk/gcc/varasm.c
Modified: llvm-gcc-4-2/trunk/gcc/varasm.c
URL:
Author: baldrick
Date: Sun Jul 15 12:02:38 2007
New Revision: 39877
URL: http://llvm.org/viewvc/llvm-project?rev=39877view=rev
Log:
Condition DECL_LLVM_SET_P on HAS_RTL_P, as in DECL_RTL_SET_P.
This makes print-tree work in the presence of FIELD_DECLs which
can no longer hold RTL.
Modified:
Can you please also apply it on the 4.2 branch. I would do it myself
but it hasn't turned up in the mirror yet (which is strange - maybe
something is wrong with the mirror?), and I think you changed it a bit
compared to the version in bugzilla.
Thanks,
Duncan.
Author: baldrick
Date: Sun Jul 15 12:58:07 2007
New Revision: 39878
URL: http://llvm.org/viewvc/llvm-project?rev=39878view=rev
Log:
We used to stash the index of the LLVM field corresponding to
a FIELD_DECL directly in the field declaration. But the place
we would store it doesn't exist in gcc
Author: lattner
Date: Sun Jul 15 15:42:37 2007
New Revision: 39879
URL: http://llvm.org/viewvc/llvm-project?rev=39879view=rev
Log:
Implement shift-simplify.ll:test3, turning:
(X 31) s 0 -- (X1) != 0
This happens dozens of times in the CFE.
Modified:
Author: lattner
Date: Sun Jul 15 15:54:51 2007
New Revision: 39880
URL: http://llvm.org/viewvc/llvm-project?rev=39880view=rev
Log:
Implement shift-simplify.ll:test[45].
First teach instcombine that sign bit checks only demand the
sign bit, this allows simplify demanded bits to hack on
Author: asl
Date: Sun Jul 15 16:57:06 2007
New Revision: 39881
URL: http://llvm.org/viewvc/llvm-project?rev=39881view=rev
Log:
Another bunch of fixes here and there.
Modified:
llvm-gcc-4-2/trunk/gcc/fold-const.c
llvm-gcc-4-2/trunk/gcc/llvm-convert.cpp
Revision: 129557
Author: clattner
Date: 2007-07-15 15:30:12 -0700 (Sun, 15 Jul 2007)
Log Message:
---
implement test/CFrontend/exact-div-expr.c by compiling
a pointer difference into a shift, instead of a divide.
This was actually a feature of llvm-gcc3 that was never
reimplemented
Author: lattner
Date: Sun Jul 15 17:30:34 2007
New Revision: 39882
URL: http://llvm.org/viewvc/llvm-project?rev=39882view=rev
Log:
new testcase
Added:
llvm/trunk/test/CFrontend/exact-div-expr.c
Added: llvm/trunk/test/CFrontend/exact-div-expr.c
URL:
Author: lattner
Date: Sun Jul 15 17:53:54 2007
New Revision: 39883
URL: http://llvm.org/viewvc/llvm-project?rev=39883view=rev
Log:
implement test/CFrontend/exact-div-expr.c by compiling
a pointer difference into a shift, instead of a divide.
This was actually a feature of llvm-gcc3 that was never
Author: lattner
Date: Sun Jul 15 18:32:03 2007
New Revision: 39885
URL: http://llvm.org/viewvc/llvm-project?rev=39885view=rev
Log:
add a helper method.
Modified:
llvm/trunk/include/llvm/ADT/APSInt.h
Modified: llvm/trunk/include/llvm/ADT/APSInt.h
URL:
Author: nicholas
Date: Sun Jul 15 21:08:00 2007
New Revision: 39893
URL: http://llvm.org/viewvc/llvm-project?rev=39893view=rev
Log:
Handle decrementing loops properly. Fixes PR1533.
Always pass the constant as the second parameter to HowManyLessThans.
Remove obsolete isSigned parameter.
Author: nicholas
Date: Sun Jul 15 21:58:37 2007
New Revision: 39894
URL: http://llvm.org/viewvc/llvm-project?rev=39894view=rev
Log:
Start adding and cleaning up comments.
Modified:
llvm/trunk/lib/Transforms/Scalar/PredicateSimplifier.cpp
Modified:
Author: lattner
Date: Sun Jul 15 23:09:00 2007
New Revision: 39895
URL: http://llvm.org/viewvc/llvm-project?rev=39895view=rev
Log:
rename function to avoid llvm-upgrade warning
Modified:
llvm/trunk/test/Transforms/InstCombine/mul.ll
Modified: llvm/trunk/test/Transforms/InstCombine/mul.ll
Author: lattner
Date: Sun Jul 15 23:15:34 2007
New Revision: 39896
URL: http://llvm.org/viewvc/llvm-project?rev=39896view=rev
Log:
Repair a regression in Transforms/InstCombine/mul.ll that Reid noticed.
Modified:
llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp
Modified:
22 matches
Mail list logo