- May 27, 2011
-
-
Charles Davis authored
this. XFAIL'd, because the COFF AsmParser can't handle .section yet. llvm-svn: 132220
-
Nadav Rotem authored
code in one place. Re-apply 131534 and fix the multi-step promotion of integers. llvm-svn: 132217
-
Eli Friedman authored
Attempt to preserve debug line info in LICM; as the comment in the code says, it's hard to pick good line numbers for this transformation, but something is better than nothing. rdar://9143729 llvm-svn: 132215
-
Chad Rosier authored
llvm-svn: 132214
-
Jakob Stoklund Olesen authored
llvm-svn: 132213
-
Chad Rosier authored
llvm-svn: 132212
-
Evan Cheng authored
Don't use movw / movt for iOS static codegen for now to workaround some tools issues. rdar://9514789 llvm-svn: 132211
-
Jakob Stoklund Olesen authored
According to PR2536, the old spiller had trouble with the IMPLICIT_DEF in this code: %reg1028<def> = MOV16rm %reg0, 1, %reg0, <ga:g_5>, Mem:LD(2,2) [g_5 + 0] %reg1039<def> = IMPLICIT_DEF %reg1038<def> = INSERT_SUBREG %reg1039, %reg1028, 2 %reg1025<def> = AND32ri %reg1038, 65534, %%EFLAGS<imp-def> However, today we emit a zero-extending load instead: %vreg10<def> = MOVZX32rm16 %noreg, 1, %noreg, <ga:@g_5>, %noreg; %mem:LD2[@g_5] GR32:%vreg10 %vreg0<def> = AND32ri %vreg10, 65534, %%EFLAGS<imp-def,dead>; %GR32:%vreg0,%vreg10 This makes the test pointless since it no longer creates the spiller hazard. llvm-svn: 132210
-
Chad Rosier authored
fixes aliasing issues with the old and new names as well as adds test cases for the auto-upgrader. Fixes rdar 9472944. llvm-svn: 132207
-
Devang Patel authored
Keep this simple. Use DIType to get signness and size of a type. Based on size, select appropraite form. llvm-svn: 132206
-
Charles Davis authored
suffix (e.g. .xdata$myfunc). The suffix part isn't implemented yet, but I'll get to it in the next patch. Fix up all callers of the affected functions. Make them pass said suffix to the function. llvm-svn: 132205
-
Evan Cheng authored
llvm-svn: 132203
-
Dan Gohman authored
llvm-svn: 132202
-
Eli Friedman authored
Don't sink or hoist debug info instrinsics; it isn't useful. This also prevents LICM sinking from erasing debug intrinsics which don't dominate any exit block of the loop. rdar://9143943 . llvm-svn: 132201
-
John McCall authored
- the selector for the landing pad must provide all available information about the handlers, filters, and cleanups within that landing pad - calls to _Unwind_Resume must be converted to branches to the enclosing lpad so as to avoid re-entering the unwinder when the lpad claimed it was going to handle the exception in some way This is quite specific to libUnwind-based unwinding. In an effort to not interfere too badly with other unwinders, and with existing hacks in frontends, this only triggers on _Unwind_Resume (not _Unwind_Resume_or_Rethrow) and does nothing with selectors if it cannot find a selector call for either lpad. llvm-svn: 132200
-
Jakob Stoklund Olesen authored
The register allocators know to filter reserved registers from the allocation orders, so we don't need all of this boilerplate. llvm-svn: 132199
-
Devang Patel authored
This fixes regressions reported by buildbots as a fallout of r132193. llvm-svn: 132197
-
Eli Friedman authored
llvm-svn: 132196
-
Eli Friedman authored
llvm-svn: 132195
-
-
Devang Patel authored
llvm-svn: 132193
-
Rafael Espindola authored
These should be DW_OP_bit_piece of CR (64). llvm-svn: 132192
-
Rafael Espindola authored
llvm-svn: 132190
-
Charles Davis authored
- Flip order of bitfields. This gets our output matching GAS. - Handle case where the end of the prolog wasn't specified. - If the resulting unwind info struct is less than 8 bytes, pad to 8 bytes. Add a test for the latter two. llvm-svn: 132188
-
Rafael Espindola authored
refer to them. I tested this with both check-all and the gdb testsuite. llvm-svn: 132187
-
Benjamin Kramer authored
InstCombine: Make switch folding with equality compares more aggressive by trying instsimplify on the arm where we know the compared value. Stuff like "x == y ? y : x&y" now folds into "x&y". llvm-svn: 132185
-
Cameron Zwarich authored
llvm-svn: 132181
-
Charles Davis authored
llvm-svn: 132180
-
Eric Christopher authored
followed by a conditional and imm8. llvm-svn: 132179
-
Eric Christopher authored
llvm-svn: 132178
-
Charles Davis authored
Use them to calculate the offset inside the prolog. Emit this value when emitting the unwind codes. llvm-svn: 132177
-
Charles Davis authored
to 4 bytes. I'm surprised no one caught the missing break statements. llvm-svn: 132176
-
Charles Davis authored
still report leaks, but they're spurious now. Valgrind cannot peer into std::vector objects--or any dynamic array, for that matter--because it doesn't know how big the array is. llvm-svn: 132174
-
Charles Davis authored
already defined, and err when the PushMachFrame operation isn't the first operation (if specified at all). llvm-svn: 132173
-
Eli Friedman authored
One more debug line number miss in instcombine (although the code in question isn't actually in instcombine). llvm-svn: 132170
-
Dan Gohman authored
llvm-svn: 132168
-
Eli Friedman authored
Final step of instcombine debuginfo; switch a couple more places over to InsertNewInstWith, and use setDebugLoc for the cases which can't be easily handled by the automated mechanisms. llvm-svn: 132167
-
Chandler Carruth authored
This looks like it flagged an actual bug. Devang, please review. I added the parentheses that change behavior, but make the behavior more closely match commit log's intent. llvm-svn: 132165
-
Devang Patel authored
llvm-svn: 132164
-
Chad Rosier authored
crc32.[8|16|32] have been renamed to .crc32.32.[8|16|32] and crc64.[8|16|32] have been renamed to .crc32.64.[8|64]. llvm-svn: 132163
-