- Nov 29, 2011
-
-
Daniel Dunbar authored
- Reapply of r144300, with lots of fixes/migration easement in between. llvm-svn: 145449
-
Evan Cheng authored
Add another missing pattern. llvm-gcc likes f64 but clang likes i64 so it was generating poor code for some SSE builtins. llvm-svn: 145448
-
Jim Grosbach authored
llvm-svn: 145443
-
Jim Grosbach authored
llvm-svn: 145442
-
Jakob Stoklund Olesen authored
Like V_SET0, these instructions are expanded by ExpandPostRA to xorps / vxorps so they can participate in execution domain swizzling. This also makes the AVX variants redundant. llvm-svn: 145440
-
Stepan Dyatkovskiy authored
Potential bug in RewriteLoopBodyWithConditionConstant: use iterator should not be changed inside the uses enumeration loop. llvm-svn: 145432
-
Eric Christopher authored
be more clear about what to do and how to do it. llvm-svn: 145426
-
Chad Rosier authored
attempt. llvm-svn: 145425
-
Rafael Espindola authored
llvm-svn: 145423
-
Andrew Trick authored
llvm-svn: 145422
-
Daniel Dunbar authored
llvm-svn: 145420
-
Benjamin Kramer authored
llvm-svn: 145419
-
Rafael Espindola authored
Patch by Sanjoy Das. llvm-svn: 145416
-
Duncan Sands authored
weak variable are compiled by different compilers, such as GCC and LLVM, while LLVM may increase the alignment to the preferred alignment there is no reason to think that GCC will use anything more than the ABI alignment. Since it is the GCC version that might end up in the final program (as the linkage is weak), it is wrong to increase the alignment of loads from the global up to the preferred alignment as the alignment might only be the ABI alignment. Increasing alignment up to the ABI alignment might be OK, but I'm not totally convinced that it is. It seems better to just leave the alignment of weak globals alone. llvm-svn: 145413
-
Michael J. Spencer authored
as MC is the only assembler we support. This splits MS/Windows and GNU/Windows ASM infos into two seperate classes. While there is currently only one difference, full MS C++ ABI support will require many more. llvm-svn: 145409
-
Danil Malyshev authored
- getSymbolOffset() renamed as getSymbolFileOffset() - getSymbolFileOffset(), getSymbolAddress(), getRelocationAddress() returns same result for ELFObjectFile, MachOObjectFile and COFFObjectFile. - added getRelocationOffset() - fixed MachOObjectFile::getSymbolSize() - fixed MachOObjectFile::getSymbolSection() - fixed MachOObjectFile::getSymbolOffset() for symbols without section data. llvm-svn: 145408
-
Elena Demikhovsky authored
Added a test. Thanks Bruno for reviewing the patch. llvm-svn: 145403
-
Craig Topper authored
llvm-svn: 145392
-
Craig Topper authored
Fix issues in shuffle decoding around VPERM* instructions. Fix shuffle decoding for VSHUFPS/D for 256-bit types. Add pattern matching for memory forms of VPERMILPS/VPERMILPD. llvm-svn: 145390
-
NAKAMURA Takumi authored
clang/lib/Driver/Driver.cpp: Don't pass through negative exit status, or parent would be confused. llvm::sys::Program::Wait(): Suppose 0x8000XXXX and 0xC000XXXX as abnormal exit code and pass it as negative value. Win32 Exception Handler: Exit with ExceptionCode on an unhandle exception. llvm-svn: 145389
-
NAKAMURA Takumi authored
Thanks to Francois, to let me know. llvm-svn: 145381
-
-
Craig Topper authored
Fix VINSERTF128/VEXTRACTF128 to be marked as FP instructions. Allow execution dependency fix pass to convert them to their integer equivalents when AVX2 is enabled. llvm-svn: 145376
-
Craig Topper authored
Correctly mark VPERM2F128 as being an FP instruction and add execution domain fixing support to convert it to VPERM2I128 for AVX2. llvm-svn: 145370
-
Bill Wendling authored
MachO doesn't support the protected visibility. Don't default to 'global' here. <rdar://problem/10396775> llvm-svn: 145368
-
Andrew Trick authored
This reverts r139450, fixes r139453, and adds much needed comments and a unit test. llvm-svn: 145367
-
Andrew Trick authored
llvm-svn: 145364
-
Andrew Trick authored
llvm-svn: 145363
-
Peter Collingbourne authored
llvm-svn: 145362
-
Peter Collingbourne authored
llvm-svn: 145361
-
Bill Wendling authored
non_lazy_symbol_pointers section (__IMPORT,__pointers). Ignore the 'hidden' part since that will place it in the wrong section. <rdar://problem/10443720> llvm-svn: 145356
-
Daniel Dunbar authored
- I verified locally that the current dependency lists are identical. - This makes add_llvm_library_dependencies() a no-op. I'll remove it once this change passes the bots. llvm-svn: 145355
-
Eli Friedman authored
Zap some completely ridiculous code. There's probably a miscompile here, but I don't really want to try to write a testcase involving an invoke returning a pointer to a varargs function... llvm-svn: 145347
-
Jim Grosbach authored
Replaces r145318 with a more targetted fix for the relocation handling. llvm-svn: 145346
-
Andrew Trick authored
SCEV can't optimize undef in all cases, which is a separate issue from this test case. llvm-svn: 145343
-
Daniel Dunbar authored
llvm-svn: 145341
-
Chandler Carruth authored
I suspect we could profitably remove/move some of the bullet points under Clang here to the Clang notes in order to keep things clean on both sides. Unless I hear objections I'll start doing that once folks have read over the Clang notes a bit. llvm-svn: 145340
-
Daniel Dunbar authored
- This fixes some layering violations and matches how we handle the llvm-c lib, for example. llvm-svn: 145338
-
Daniel Dunbar authored
to the way we currently expect target selection to work -- clients are supposed to have control over what targets are available. llvm-svn: 145331
-
Daniel Dunbar authored
llvm-svn: 145330
-