- May 16, 2008
-
-
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
-
Gabor Greif authored
Fix a bunch of 80col violations that arose from the Create API change. Tweak makefile targets to find these better. llvm-svn: 51143
-
Evan Cheng authored
Make use of vector load and store operations to implement memcpy, memmove, and memset. Currently only X86 target is taking advantage of these. llvm-svn: 51140
-
Nate Begeman authored
operator new() referring to the static initTags function, which has to be in the same linkage unit as any file including User.h. llvm-svn: 51136
-
Dale Johannesen authored
to 64 bits. llvm-svn: 51135
-
Bill Wendling authored
is bitcast to return a floating point value. The result of the instruction may not be used by the program afterwards, and LLVM will happily remove all instructions except the call. But, on some platforms, if a value is returned as a floating point, it may need to be removed from the stack (like x87). Thus, we can't get rid of the bitcast even if there isn't a use of the value. llvm-svn: 51134
-
Dale Johannesen authored
conversion. Try 0x1.0000a4p+0f. Neil, please review. llvm-svn: 51132
-
- May 14, 2008
-
-
Evan Cheng authored
llvm-svn: 51131
-
Chris Lattner authored
llvm-svn: 51130
-
Evan Cheng authored
llvm-svn: 51129
-
Evan Cheng authored
llvm-svn: 51126
-
Evan Cheng authored
llvm-svn: 51123
-
Dale Johannesen authored
llvm-svn: 51120
-
Dale Johannesen authored
llvm-svn: 51119
-
Dale Johannesen authored
are represented as "weak", but there are subtle differences in some cases on Darwin, so we need both. The intent is that "common" will behave identically to "weak" unless somebody changes their target to do something else. No functional change as yet. llvm-svn: 51118
-
Evan Cheng authored
llvm-svn: 51115
-
Devang Patel authored
Patch by Matthijs Kooijman! llvm-svn: 51114
-
Dan Gohman authored
SETOEQ, is it does with (SETEQ & SETULE), map it to SETEQ. llvm-svn: 51112
-
Sanjiv Gupta authored
Changed cout to DOUT, and TODOs to FIXMEs. Other changes as per coding conventions. llvm-svn: 51105
-
Nicolas Geoffray authored
to make the Cpp backend output compilable. llvm-svn: 51095
-
Sanjiv Gupta authored
llvm-svn: 51094
-
Evan Cheng authored
llvm-svn: 51092
-
Dan Gohman authored
This eliminates the need for several awkward casts, including the last dynamic_cast under lib/Target. llvm-svn: 51091
-
Dan Gohman authored
llvm-svn: 51089
-
Dan Gohman authored
llvm-svn: 51088
-
Dan Gohman authored
Patch by Matthijs Kooijman! llvm-svn: 51083
-
Owen Anderson authored
bug as well as a missed optimization. We weren't properly checking for local dependencies before moving on to non-local ones when doing non-local read-only call CSE. llvm-svn: 51082
-
Gabor Greif authored
Do not rely on std::swap<Use>, provide a (faster) member function instead. This change is primarily necessitated by MSVC++'s incompatibility with declaring std::swap<Use> to be a friend of Use. Also contains some minor tweaks to Use inline functions, to undo pointless changes that sneaked in with the last merge. llvm-svn: 51078
-
Devang Patel authored
llvm-svn: 51075
-
- May 13, 2008
-
-
Owen Anderson authored
instruction. This fixes some Ada miscompiles reported in PR2324. llvm-svn: 51069
-
Dale Johannesen authored
llvm-svn: 51063
-