- Dec 17, 2007
-
-
Christopher Lamb authored
Make it clear in the LangRef that allocation instructions only operated on the generic address space. Implement support in the verifier for ensuring this is true. llvm-svn: 45080
-
- Dec 16, 2007
-
-
Duncan Sands authored
changed not to reject invoke of inline asm. llvm-svn: 45077
-
Chris Lattner authored
llvm-svn: 45076
-
Chris Lattner authored
llvm-svn: 45075
-
Chris Lattner authored
X86CodeEmitter.cpp:378: failed assertion `0 && "Immediate size not set!"' I *think* this is right, but Evan, please verify. It also looks like CMPSDrr and maybe others are missing this info. Evan, plz investigate. llvm-svn: 45074
-
Duncan Sands authored
calls. Remove special casing of inline asm from the inliner. There is a potential problem: the verifier rejects invokes of inline asm (not sure why). If an asm call is not marked "nounwind" in some .ll, and instcombine is not run, but the inliner is run, then an illegal module will be created. This is bad but I'm not sure what the best approach is. I'm tempted to remove the check in the verifier... llvm-svn: 45073
-
Bill Wendling authored
warning: suggest a space before ';' or explicit braces around empty body in 'for' statement Patch by Mike Stump (modified slightly by yours truly). llvm-svn: 45071
-
Owen Anderson authored
llvm-svn: 45070
-
Owen Anderson authored
llvm-svn: 45069
-
- Dec 15, 2007
-
-
Duncan Sands authored
llvm-svn: 45059
-
Evan Cheng authored
llvm-svn: 45058
-
Scott Michel authored
llvm-svn: 45050
-
- Dec 14, 2007
-
-
Evan Cheng authored
llvm-svn: 45041
-
Evan Cheng authored
Fix (mem) <-> low 64-bits of xmm bugs pointed out by David Greene. Mac OS X Leopard assembler recognizes movq. llvm-svn: 45040
-
Duncan Sands authored
endianness of the target not of the host. Done by the simple expedient of reversing bytes for primitive types if the host and target endianness don't match. This is correct for integer and pointer types. I don't know if it is correct for floating point types. llvm-svn: 45039
-
Dale Johannesen authored
for parameter passing (only for that, on Darwin). llvm-svn: 45038
-
Evan Cheng authored
llvm-svn: 45037
-
Evan Cheng authored
llvm-svn: 45036
-
Dan Gohman authored
llvm-svn: 45034
-
Dan Gohman authored
llvm-svn: 45030
-
Evan Cheng authored
Fix ctlz and cttz. llvm definition requires them to return number of bits in of the src type when value is zero. llvm-svn: 45029
-
Evan Cheng authored
llvm-svn: 45028
-
Anders Carlsson authored
All MMX shift instructions took a <2 x i32> vector as the shift amount parameter. Change this to be <1 x i64> instead, which matches the assembler instruction. llvm-svn: 45027
-
Evan Cheng authored
llvm-svn: 45024
-
Bill Wendling authored
side effects for machine instructions. llvm-svn: 45022
-
- Dec 13, 2007
-
-
Wojciech Matyjewicz authored
Let: %q = GEP %p, X, ... If %p is a GEP, we can chase baseptr further, only if X==0. llvm-svn: 44999
-
Evan Cheng authored
llvm-svn: 44997
-
Owen Anderson authored
llvm-svn: 44987
-
Owen Anderson authored
Remove ugly and horrible code. It's not necessary for correctness, and can be added back later if it causes code quality issues. llvm-svn: 44986
-
Evan Cheng authored
llvm-svn: 44981
-
Evan Cheng authored
llvm-svn: 44970
-
Chris Lattner authored
llvm-svn: 44965
-
Evan Cheng authored
Implicit def instructions, e.g. X86::IMPLICIT_DEF_GR32, are always re-materializable and they should not be spilled. llvm-svn: 44960
-
Duncan Sands authored
put it in a new header System/Host.h instead. Instead of getting the endianness from configure, calculate it directly. llvm-svn: 44959
-
- Dec 12, 2007
-
-
Dan Gohman authored
SelectionDAG::getConstant, in the same way as vector floating-point constants. This allows the legalize expansion code for @llvm.ctpop and friends to be usable with vector types. llvm-svn: 44954
-
Duncan Sands authored
and readnone for functions with bodies because it broke llvm-gcc-4.2 bootstrap. It turns out that, because of LLVM's array_ref hack, gcc was computing pure/const attributes wrong (now fixed by turning off the gcc ipa-pure-const pass). llvm-svn: 44937
-
Wojciech Matyjewicz authored
2. Using zero-extended value of Scale and unsigned division is safe provided that Scale doesn't have the sign bit set. Previously these 2 instructions: %p = bitcast [100 x {i8,i8,i8}]* %x to i8* %q = getelementptr i8* %p, i32 -4 were combined into: %q = getelementptr [100 x { i8, i8, i8 }]* %x, i32 0, i32 1431655764, i32 0 what was incorrect. llvm-svn: 44936
-
Christopher Lamb authored
llvm-svn: 44934
-
Christopher Lamb authored
llvm-svn: 44933
-
Evan Cheng authored
llvm-svn: 44929
-