- 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
-
Evan Cheng authored
Lower a build_vector with all constants into a constpool load unless it can be done with a move to low part. llvm-svn: 44921
-
Zhou Sheng authored
not support it. llvm-svn: 44914
-
Zhou Sheng authored
Make lli interpreter correctly call external functions sin()/cos(), __cxa_guard_acquire() and __cxa_guard_release(). llvm-svn: 44910
-
Chris Lattner authored
pointing this out and correcting the patch! llvm-svn: 44907
-
Evan Cheng authored
llvm-svn: 44905
-
Scott Michel authored
llvm-svn: 44904
-
Owen Anderson authored
interfered with other registers. Seems like that might be a good thing to do. :-) llvm-svn: 44902
-
Gordon Henriksen authored
llvm-svn: 44899
-
Evan Cheng authored
Bug fix. Only safe to perform extension uses optimization if the source of extension is also defined in the same BB as the extension. llvm-svn: 44896
-