- May 19, 2008
-
-
Chris Lattner authored
llvm-svn: 51275
-
Chris Lattner authored
produce a negative zero. llvm-svn: 51272
-
Chris Lattner authored
to accurately represent the integer. This triggers 9 times in 471.omnetpp, though 8 of those seem to be inlined from the same place. llvm-svn: 51271
-
Chris Lattner authored
type and the other operand is a constant into integer comparisons. This happens surprisingly frequently (e.g. 10 times in 471.omnetpp), which are things like this: %tmp8283 = sitofp i32 %tmp82 to double %tmp1013 = fcmp ult double %tmp8283, 0.0 Clearly comparing tmp82 against i32 0 is cheaper here. this also triggers 8 times in gobmk, including this one: %tmp375376 = sitofp i32 %tmp375 to double %tmp377 = fcmp ogt double %tmp375376, 8.150000e+01 which is comparing an integer against 81.5 :). llvm-svn: 51268
-
Chris Lattner authored
llvm-svn: 51264
-
Chris Lattner authored
intersecting bits. This triggers all over the place, for example in lencode, with adds of stuff like: %tmp580 = mul i32 %tmp579, 2 %tmp582 = and i32 %b8, 1 and %tmp28 = shl i32 %abs.i, 1 %sign.0 = select i1 %tmp23, i32 1, i32 0 and %tmp344 = shl i32 %tmp343, 2 %tmp346 = and i32 %tmp96, 3 etc. llvm-svn: 51263
-
Duncan Sands authored
an i16! Cleaned up trailing whitespace while there. llvm-svn: 51240
-
Gordon Henriksen authored
llvm-svn: 51239
-
Gordon Henriksen authored
llvm-svn: 51238
-
- May 18, 2008
-
-
Nate Begeman authored
llvm-svn: 51230
-
Nate Begeman authored
llvm-svn: 51229
-
Chris Lattner authored
llvm-svn: 51226
-
- May 17, 2008
-
-
Nick Lewycky authored
llvm-svn: 51223
-
Chris Lattner authored
llvm-svn: 51222
-
Nick Lewycky authored
llvm-svn: 51217
-
Nick Lewycky authored
llvm-svn: 51216
-
Nick Lewycky authored
llvm-svn: 51215
-
Dale Johannesen authored
suggested by Duncan. llvm-svn: 51211
-
- May 16, 2008
-
-
Dale Johannesen authored
replaced at linktime with a body that throws, even if the body in this file does not. Make PruneEH be more conservative in this case. g++.dg/eh/weak1.C llvm-svn: 51207
-
Eric Christopher authored
its associated call site. llvm-svn: 51204
-
Dale Johannesen authored
missing it. gcc.dg/darwin-weakimport-2.c. Handle common and weak differently for darwin ppc32. llvm-svn: 51201
-
Gabor Greif authored
API change for {BinaryOperator|CmpInst|CastInst}::create*() --> Create. Legacy interfaces will be in place for some time. (Merge from use-diet branch.) llvm-svn: 51200
-
Evan Cheng authored
llvm-svn: 51192
-
Duncan Sands authored
included after local headers. llvm-svn: 51187
-
Duncan Sands authored
original method caused gcc-4.2 to complain. llvm-svn: 51186
-
Evan Cheng authored
llvm-svn: 51183
-
Owen Anderson authored
safer manner by loop deletion. llvm-svn: 51182
-
Owen Anderson authored
Also, use SCEV to determine the trip count of the loop, which is more powerful and accurate that Loop::getTripCount. llvm-svn: 51179
-
Chris Lattner authored
llvm-svn: 51176
-
Dale Johannesen authored
llvm-svn: 51172
-
Dan Gohman authored
test/Verifier/2002-11-05-GetelementptrPointers.ll, which was incorrect. Instead, fix getIndexedType to not follow pointer types, as PointerType is a subclass of CompositeType. llvm-svn: 51171
-
Dan Gohman authored
use-before-def. The problem comes up in code with multiple PHIs where one PHI is being rewritten in terms of the other, but the other needs to be casted first. LLVM rules requre the cast instruction to be inserted after any PHI instructions, but when instructions were inserted to replace the second PHI value with a function of the first, they were ended up going before the cast instruction. Avoid this problem by remembering the location of the cast instruction, when one is needed, and inserting the expansion of the new value after it. This fixes a bug that surfaced in 255.vortex on x86-64 when instcombine was removed from the middle of the loop optimization passes. llvm-svn: 51169
-
Evan Cheng authored
llvm-svn: 51165
-
- May 15, 2008
-
-
Dale Johannesen authored
This changes the .bc file format, but if I understand how it works correctly, old .bc files continue to be readable. llvm-svn: 51161
-
Nate Begeman authored
something with a v1 type. llvm-svn: 51160
-
Dan Gohman authored
moving toward making structs and arrays first-class types. llvm-svn: 51157
-
Dan Gohman authored
llvm-svn: 51156
-
Devang Patel authored
Patch by Matthijs Kooijman. llvm-svn: 51154
-
Evan Cheng authored
llvm-svn: 51152
-
Duncan Sands authored
compiling with gcc 4.3. llvm-svn: 51145
-