- Sep 12, 2008
-
-
Dan Gohman authored
with ConstantInt. This led to fixing a bug in TargetLowering.cpp using getValue instead of getAPIntValue. llvm-svn: 56159
-
Duncan Sands authored
when a readonly declaration is called, set a flag. This is faster and uses less memory. In theory it is less accurate, because before only those internal globals that were read by someone were being marked "Ref", but now all are. But in practice, thanks to other passes, all internal globals of the kind considered here will be both read and stored to: those only read will have been turned into constants, and those only stored to will have been deleted. llvm-svn: 56143
-
Dale Johannesen authored
safe in the presence of NaNs. llvm-svn: 56136
-
Dan Gohman authored
getelementptr indices, inserting an explicit cast if necessary. This helps expose the sign-extension operation to other optimizations. llvm-svn: 56133
-
Dan Gohman authored
Patch by Nicolas Capens! llvm-svn: 56129
-
- Sep 11, 2008
-
-
Jim Grosbach authored
llvm-svn: 56126
-
Arnold Schwaighofer authored
When tailcallopt is enabled all fastcc calls must have an aligned argument stack size. Add a test case. llvm-svn: 56119
-
Evan Cheng authored
Fix PR2748. Avoid coalescing physical register with virtual register which would create illegal extract_subreg. e.g. vr1024 = extract_subreg vr1025, 1 ... vr1024 = mov8rr AH If vr1024 is coalesced with AH, the extract_subreg is now illegal since AH does not have a super-reg whose sub-register 1 is AH. llvm-svn: 56118
-
Owen Anderson authored
llvm-svn: 56117
-
Duncan Sands authored
llvm-svn: 56116
-
Duncan Sands authored
(unless passed one via a parameter), even if they are IntrWriteMem. llvm-svn: 56115
-
Dan Gohman authored
cases it was still getting lucky and detecting overflow but it was clearly incorrect. llvm-svn: 56113
-
Evan Cheng authored
llvm-svn: 56112
-
Duncan Sands authored
variables. llvm-svn: 56105
-
Evan Cheng authored
llvm-svn: 56097
-
Dale Johannesen authored
cmp-and-swap reversed the Cmp and Swap arguments; comments make it clear this is unintentional. Unfortunately, the x86 BE had a compensating reversal, which is removed here. PPC is OK. From inspection of the Alpha code I think it is OK, but if somebody has that platform please check it out. I cannot test on that platform. llvm-svn: 56091
-
Owen Anderson authored
If ISD::ANY_EXTEND fails, try ISD::ZERO_EXTEND and ISD::SIGN_EXTEND before giving up. This fixes 445.gobmk on X86-64 in fast isel. llvm-svn: 56088
-
Dale Johannesen authored
__sync_fetch_and_nand as ANDC, even though that's not what nand means. llvm-svn: 56087
-
Evan Cheng authored
llvm-svn: 56085
-
Dan Gohman authored
multiplication overflows. llvm-svn: 56082
-
Dan Gohman authored
condition. This fixes PR2740. llvm-svn: 56076
-
- Sep 10, 2008
-
-
Dan Gohman authored
llvm-svn: 56070
-
Dan Gohman authored
llvm-svn: 56069
-
Dan Gohman authored
llvm-svn: 56068
-
Owen Anderson authored
Fix a bug in the coalescer where it didn't check if a live interval existed before trying to manipulate it. This was exposed by fast isel's handling of shifts on X86-64. With this, FreeBench/pcompress2 passes on X86-64 in fast isel. llvm-svn: 56067
-
Dan Gohman authored
to static allocas. As part of this change, refactor the address mode code for laods and stores. llvm-svn: 56066
-
Evan Cheng authored
llvm-svn: 56065
-
Evan Cheng authored
Fix a fastcc + sret bug. If fastcc and sret, callee doesn't need to pop the hidden struct ptr; Re-enable fastcc. llvm-svn: 56061
-
Dale Johannesen authored
Patch by Paul Redmond. llvm-svn: 56059
-
Dan Gohman authored
I shuffled the fast-isel command-line options around. This fixes a bunch of fast-isel failures. llvm-svn: 56057
-
Devang Patel authored
llvm-svn: 56056
-
Duncan Sands authored
llvm-svn: 56055
-
Duncan Sands authored
convention (not related to recent Ada testsuite failures). llvm-svn: 56054
-
Duncan Sands authored
a slew of Ada testsuite failures on x86-32 linux. Seems to be related to the use of float. llvm-svn: 56053
-
Bill Wendling authored
llvm-svn: 56049
-
Daniel Dunbar authored
llvm-svn: 56048
-
Dan Gohman authored
llvm-svn: 56040
-
Evan Cheng authored
llvm-svn: 56037
-
Bill Wendling authored
llvm-svn: 56036
-
Bill Wendling authored
form: powf(10.0f, x); If this is the case, and also we want limited precision floating-point calculations, then lower to do the limited-precision stuff. llvm-svn: 56035
-