- Nov 29, 2011
-
-
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
-
Daniel Dunbar authored
llvm-svn: 145329
-
Daniel Dunbar authored
dependency information. llvm-svn: 145328
-
Rafael Espindola authored
llvm-svn: 145324
-
Devang Patel authored
llvm-svn: 145319
-
Jim Grosbach authored
rdar://10493453 llvm-svn: 145318
-
Eli Friedman authored
llvm-svn: 145316
-
Jim Grosbach authored
llvm-svn: 145313
-
- Nov 28, 2011
-
-
Eli Friedman authored
Make SelectionDAG::InferPtrAlignment use llvm::ComputeMaskedBits instead of duplicating the logic for globals. Make llvm::ComputeMaskedBits handle GlobalVariables slightly more aggressively, to match what InferPtrAlignment knew how to do. llvm-svn: 145304
-
Evan Cheng authored
Conservatively returns zero when the GV does not specify an alignment nor is it initialized. Previously it returns ABI alignment for type of the GV. However, if the type is a "packed" type, then the under-specified alignments is attached to the load / store instructions. In that case, the alignment of the type cannot be trusted. rdar://10464621 llvm-svn: 145300
-
Daniel Dunbar authored
llvm-svn: 145292
-