- Oct 07, 2013
-
-
Craig Topper authored
Remove some instructions that seem to only exist to trick the filtering checks in the disassembler table creation. Just fix up the filter to let the real instruction through instead. llvm-svn: 192090
-
Craig Topper authored
llvm-svn: 192089
-
Craig Topper authored
Teach X86 asm parser that VMOVAPSrr and other VEX-encoded register to register moves should be switched from using the MRMSrcReg form to the MRMDestReg form if the source register is a 64-bit extended register and the destination register is not. This allows the instruction to be encoded using the 2-byte VEX form instead of the 3-byte VEX form. The GNU assembler has similar behavior and instruction selection already does this. llvm-svn: 192088
-
Faisal Vali authored
In chicago, Doug had requested that I go ahead and commit the refactor as a separate change, if all the tests passed. Lets hope the buildbots stay quiet. Thanks! llvm-svn: 192087
-
Craig Topper authored
llvm-svn: 192086
-
Marshall Clow authored
llvm-svn: 192085
-
Shankar Easwaran authored
This field would eventually be used. llvm-svn: 192084
-
Shankar Easwaran authored
llvm-svn: 192083
-
Shankar Easwaran authored
Fix adding a missed file in the previous commit. llvm-svn: 192082
-
Shankar Easwaran authored
Changes :- a) Functionality in InputGraph to insert Input elements at any position b) Functionality in the Resolver to use nextFile c) Move the functionality of assigning file ordinals to InputGraph d) Changes all inputs to MemoryBuffers e) Remove LinkerInput, InputFiles, ReaderArchive llvm-svn: 192081
-
Marshall Clow authored
Apparently, I don't know the difference between 'left' and 'right'. Swap parameters named 'lhs' and 'rhs' so that they correctly refer to the 'left hand side' and 'right hand side' of comparisons. No functionality change. Thanks to Arthur O'Dwyer for pointing this out to me. llvm-svn: 192080
-
David Majnemer authored
This reverts commit r192070 which reverted r192069, I forgot to regenerate the configure scripts. llvm-svn: 192079
-
Craig Topper authored
Fix some assert messages to say the correct opcode name. Looks like one assert got copy and pasted to many places. llvm-svn: 192078
-
Peter Collingbourne authored
Rather than try to protect the function behind a precise, ever-changing #if expression, just inline it into every caller. llvm-svn: 192077
-
Peter Collingbourne authored
libsupc++ does not implement the dependent EH ABI and the functionality it uses to implement std::exception_ptr (which it declares as an alias of std::__exception_ptr::exception_ptr) is not directly exported to clients. So we have little choice but to hijack std::__exception_ptr::exception_ptr's (which fortunately has the same layout as our std::exception_ptr) copy constructor, assignment operator and destructor (which are part of its stable ABI), and its rethrow_exception(std::__exception_ptr::exception_ptr) function. Also, remove some out of date comments. Differential Revision: http://llvm-reviews.chandlerc.com/D1826 llvm-svn: 192076
-
Peter Collingbourne authored
Linking against libstdc++, rather than libsupc++, is probably better for people who need to link against clients of libstdc++. Because libsupc++ is provided only as a static library, its globals are not shared between the static library and the copy linked into libstdc++. This has been found to cause at least one test failure. This also removes a number of symbols which were multiply defined between libstdc++ and libc++, only when linking with libstdc++. Differential Revision: http://llvm-reviews.chandlerc.com/D1825 llvm-svn: 192075
-
Peter Collingbourne authored
The remaining multiple definitions were flushed out by attempting to link libsupc++ and libc++ into the same executable with --whole-archive, e.g. clang++ -I../llvm/projects/libcxx/include -nodefaultlibs -Wl,--whole-archive lib/libc++.a /usr/lib/gcc/x86_64-linux-gnu/4.6/libsupc++.a -Wl,--no-whole-archive -lgcc -lgcc_s -lc -lpthread -lrt (The same technique was used to flush out multiple definitions in libstdc++.) Differential Revision: http://llvm-reviews.chandlerc.com/D1824 llvm-svn: 192074
-
- Oct 06, 2013
-
-
Howard Hinnant authored
G M: 1. It changes the temp file handling to use the template and the current directory for windows, matching how it works on other platforms. 2. It re-enables the temp file handling for mingw that regressed. llvm-svn: 192073
-
Howard Hinnant authored
llvm-svn: 192072
-
Howard Hinnant authored
llvm-svn: 192071
-
David Majnemer authored
This is causing MinGW bots to fail. This reverts commit r192069. llvm-svn: 192070
-
David Majnemer authored
Summary: The MSVCRT deliberately sends main() code-page specific characters. This isn't too useful to LLVM as we end up converting the arguments to UTF-16 and subsequently attempt to use the result as, for example, a file name. Instead, we need to have the ability to access the Unicode command line and transform it to UTF-8. This has the distinct advantage over using the MSVC-specific wmain() function as our entry point because: - It doesn't work on cygwin. - It only work on MinGW with caveats and only then on certain versions. - We get to keep our entry point as main(). :) N.B. This patch includes fixes to other parts of lib/Support/Windows s.t. we would be able to take advantage of getting the Unicode paths. E.G. clang spawning clang -cc1 would want to give it Unicode arguments. Reviewers: aaron.ballman, Bigcheese, rnk, ruiu Reviewed By: rnk CC: llvm-commits, ygao Differential Revision: http://llvm-reviews.chandlerc.com/D1834 llvm-svn: 192069
-
Howard Hinnant authored
llvm-svn: 192068
-
Timur Iskhodzhanov authored
llvm-svn: 192067
-
Rafael Espindola authored
This will be used to extend constructor aliases in clang. llvm-svn: 192066
-
Benjamin Kramer authored
llvm-svn: 192065
-
Benjamin Kramer authored
Regalloc can emit unaligned spills nowadays, but we can't fold the spills into SSE ops if we can't guarantee alignment. PR12250. llvm-svn: 192064
-
Elena Demikhovsky authored
Fixed load folding in VPERM2I instruction. llvm-svn: 192063
-
Daniel Jasper authored
Formatting: class C { public: f(); }; Now leads to: class C { public: f(); }; llvm-svn: 192062
-
Sylvestre Ledru authored
remove a dead assignment. The variables are set just right after. Found by scan-build http://buildd-clang.debian.net/scan-build/ llvm-svn: 192061
-
Sylvestre Ledru authored
Value stored to 'pid' was never read. Found by scan-build http://buildd-clang.debian.net/scan-build/ llvm-svn: 192060
-
Simon Atanasyan authored
llvm-svn: 192059
-
Marshall Clow authored
llvm-svn: 192058
-
Marshall Clow authored
llvm-svn: 192057
-
Venkatraman Govindaraju authored
llvm-svn: 192056
-
Elena Demikhovsky authored
in case of BLEND and added VSHUFPS patterns. llvm-svn: 192055
-
Venkatraman Govindaraju authored
This is required because i64 is a legal type but addxcc/subxcc reads icc carry bit, which are 32 bit conditional codes. llvm-svn: 192054
-
Venkatraman Govindaraju authored
addx/subx does not modify conditional codes whereas addxcc/subxx does. llvm-svn: 192053
-
Mark Lacey authored
In functions that only need to use the CGCXXABI member of a CodeGenTypes class, pass that reference around directly rather than a reference to a CodeGenTypes class. This makes the actual dependence on CGCXXABI clear at the call sites. llvm-svn: 192052
-
Marshall Clow authored
Add tests making sure that optional<T>s can be compared at compile time; this functionality was enabled by N3789 llvm-svn: 192051
-