- Mar 06, 2009
-
-
Chris Lattner authored
Lennart Augustsson! llvm-svn: 66272
-
Duncan Sands authored
to find a tiny mouse hole to squeeze through, it struck me that globals without a name can be considered internal since they can't be referenced from outside the current module. This patch makes GlobalOpt give them internal linkage. Also done for aliases even though they always have names, since in my opinion anonymous aliases should be allowed for consistency with global variables and functions. So if that happens one day, this code is ready! llvm-svn: 66267
-
Chris Lattner authored
llvm-svn: 66264
-
Devang Patel authored
llvm-svn: 66262
-
Chris Lattner authored
get nice and happy stack traces when we crash in an optimizer or codegen. For example, an abort put in UnswitchLoops now looks like this: Stack dump: 0. Program arguments: clang pr3399.c -S -O3 1. <eof> parser at end of file 2. per-module optimization passes 3. Running pass 'CallGraph Pass Manager' on module 'pr3399.c'. 4. Running pass 'Loop Pass Manager' on function '@foo' 5. Running pass 'Unswitch loops' on basic block '%for.inc' Abort llvm-svn: 66260
-
Zhou Sheng authored
IntrNoMem. llvm-svn: 66256
-
Devang Patel authored
llvm-svn: 66255
-
Chris Lattner authored
llvm-svn: 66254
-
Chris Lattner authored
llvm-svn: 66252
-
Chris Lattner authored
their main routines. This makes the tools print their argc/argv commands if they crash. llvm-svn: 66248
-
Devang Patel authored
llvm-svn: 66245
-
Devang Patel authored
llvm-svn: 66244
-
Dan Gohman authored
with multiple chain operands. This can occur when the scheduler has added chain operands to a node that already has a chain operand, in order to handle physical register dependencies. This fixes an llvm-gcc bootstrap failure on x86-64 introduced in r66058. llvm-svn: 66240
-
Dale Johannesen authored
This is needed so debug info doesn't change codegen. llvm-svn: 66235
-
Bill Wendling authored
Delete this default branch, because we're going to generate our own. llvm-svn: 66234
-
Devang Patel authored
llvm-svn: 66233
-
Devang Patel authored
We are still not out of woods yet. llvm-svn: 66232
-
Evan Cheng authored
llvm-svn: 66227
-
Dale Johannesen authored
debug intrinsics correctly. llvm-svn: 66225
-
Devang Patel authored
llvm-svn: 66224
-
Devang Patel authored
llvm-svn: 66223
-
- Mar 05, 2009
-
-
Dan Gohman authored
INC64_32r and INC64_16r, because these instructions are encoded differently on x86-64. This fixes JIT regressions on x86-64 in kimwitu++ and others. llvm-svn: 66207
-
Dan Gohman authored
The extra operand didn't appear to cause any trouble, but it was erroneous regardless. llvm-svn: 66206
-
Dan Gohman authored
negative one, as subtracts of immediates are canonicalized to adds. llvm-svn: 66180
-
Chris Lattner authored
llvm-svn: 66171
-
Devang Patel authored
If non constant local GV named A is used by a constant local GV named B (e.g. llvm.dbg.variable) and B is not used by anyone else then eliminate A as well as B. In other words, debug info should not interfere in removal of unused GV. --This life, and those below, will be ignored-- M test/Transforms/GlobalOpt/2009-03-03-dbg.ll M lib/Transforms/IPO/GlobalOpt.cpp llvm-svn: 66167
-
Duncan Sands authored
llvm-svn: 66160
-
Owen Anderson authored
llvm-svn: 66158
-
Owen Anderson authored
Be more careful about choosing restore points when doing restore folding. This fixes some subtle miscompilations. llvm-svn: 66147
-
Chris Lattner authored
feels a kinship to machine stacks that grow down. Now we get stuff like this: Stack dump: 0. Program arguments: clang clang_crash_Iw2Osj.mi 1. /Developer/SDKs/MacOSX10.5.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:624:1: parsing function body '_mm_cvtpi16_ps' 2. /Developer/SDKs/MacOSX10.5.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:624:1: in compound statement ('{}') Abort llvm-svn: 66145
-
Chris Lattner authored
llvm-svn: 66144
-
Chris Lattner authored
llvm-svn: 66143
-
Nate Begeman authored
This invalidates the stubs in the resolver map when they are no longer referenced, and should the JIT memory manager ever pick up a deallocateStub interface, the JIT could reclaim the memory for unused stubs as well. llvm-svn: 66141
-
Evan Cheng authored
llvm-svn: 66140
-
Evan Cheng authored
Fix how livein live intervals are handled. Previously it could end at MBB start. Sorry, no small test case possible. llvm-svn: 66129
-
Dale Johannesen authored
codegen. I convinced myself it was OK to skip all pointer bitcasts here too. llvm-svn: 66122
-
Zhou Sheng authored
llvm-svn: 66119
-
Bill Wendling authored
llvm-svn: 66115
-
Dale Johannesen authored
had 2 uses instead of 1. llvm-svn: 66112
-
- Mar 04, 2009
-
-