- Jan 09, 2014
-
-
Evan Cheng authored
llvm-svn: 198889
-
Rafael Espindola authored
I would not normally add tests like these, but the copy constructor is not used at all in our codebase with c++11, so having this tests might prevent breaking the c++03 build again. llvm-svn: 198886
-
Alp Toker authored
To declare or define reserved identifers is undefined behaviour in standard C++. This needs to be addressed in compiler-rt before it can be used in LLVM. See the list discussion for details. This reverts commit r198858. llvm-svn: 198884
-
Nadav Rotem authored
This reverts r198854. llvm-svn: 198879
-
Rafael Espindola authored
llvm-svn: 198872
-
NAKAMURA Takumi authored
It caused undefined behavior. DwarfTypeUnit::Ty might not be initialized properly, I guess. llvm-svn: 198865
-
Stepan Dyatkovskiy authored
Detailed description is here: http://llvm.org/bugs/show_bug.cgi?id=18000#c16 For participation in bugfix process special thanks to David Wiberg. llvm-svn: 198863
-
Richard Sandiford authored
The zext handling added in r197802 wasn't right for RNSBG. This patch restricts it to ROSBG, RXSBG and RISBG. (The tests for RISBG were added in r197802 since RISBG was the motivating example.) llvm-svn: 198862
-
Richard Sandiford authored
At the moment we expect rotates to have the form: (or (shl X, Y), (shr X, Z)) where Y == bitsize(X) - Z or Z == bitsize(X) - Y. This form means that the (or ...) is undefined for Y == 0 or Z == 0. This undefinedness can be avoided by using Y == (C * bitsize(X) - Z) & (bitsize(X) - 1) or Z == (C * bitsize(X) - Y) & (bitsize(X) - 1) for any integer C (including 0, the most natural choice). llvm-svn: 198861
-
Richard Sandiford authored
InstCombine converts (sub 32, (add X, C)) into (sub 32-C, X), so a rotate left of a 32-bit Y by X+C could appear as either: (or (shl Y, (add X, C)), (shr Y, (sub 32, (add X, C)))) without InstCombine or: (or (shl Y, (add X, C)), (shr Y, (sub 32-C, X))) with it. We already matched the first form. This patch handles the second too. llvm-svn: 198860
-
Kostya Serebryany authored
llvm-svn: 198858
-
Nadav Rotem authored
llvm-svn: 198854
-
Lang Hames authored
new in C++11. llvm-svn: 198853
-
Lang Hames authored
root path to which object files managed by the LLIObjectCache instance should be written. This option defaults to "", in which case objects are cached in the same directory as the bitcode they are derived from. The load-object-a.ll test has been rewritten to use this option to support testing in environments where the test directory is not writable. llvm-svn: 198852
-
David Blaikie authored
llvm-svn: 198851
-
David Blaikie authored
llvm-svn: 198850
-
Saleem Abdulrasool authored
Rename bytecode to opcodes to make it more clear. Change an impossible case to llvm_unreachable instead. Avoid allocation of a buffer by modifying the PrintOpcodes iteration. llvm-svn: 198848
-
Saleem Abdulrasool authored
Explicitly handle endianness to ensure that bytes are read properly on big-endian systems. llvm-svn: 198847
-
David Blaikie authored
llvm-svn: 198846
-
Richard Smith authored
llvm-svn: 198844
-
David Blaikie authored
llvm-svn: 198843
-
David Blaikie authored
Since we'll now also need the split dwarf file name along with the language in DwarfTypeUnits, just use the whole DICompileUnit rather than explicitly handling each field needed. llvm-svn: 198842
-
David Blaikie authored
This reverts commit r198830. Decided to go a different way with this... llvm-svn: 198841
-
Chandler Carruth authored
I add support for the new pass manager to it. llvm-svn: 198838
-
Chandler Carruth authored
operand into the Value interface just like the core print method is. That gives a more conistent organization to the IR printing interfaces -- they are all attached to the IR objects themselves. Also, update all the users. This removes the 'Writer.h' header which contained only a single function declaration. llvm-svn: 198836
-
David Blaikie authored
It's unused in DwarfTypeUnit, as is expected. llvm-svn: 198830
-
Eric Christopher authored
llvm-svn: 198825
-
Lang Hames authored
llvm-svn: 198821
-
Rafael Espindola authored
llvm-svn: 198819
-
Rafael Espindola authored
llvm-svn: 198817
-
Andrew Trick authored
In the stackmap format we advertise the constant field as signed. However, we were determining whether to promote to a 64-bit constant pool based on an unsigned comparison. This fix allows -1 to be encoded as a small constant. llvm-svn: 198816
-
David Blaikie authored
llvm-svn: 198813
-
David Blaikie authored
This makes it easier to write a test that's mostly shared between fission and non-fission (using FileCheck's multiple prefix support). llvm-svn: 198806
-
- Jan 08, 2014
-
-
Rafael Espindola authored
With c++11 we never instantiate the copy constructor. llvm-svn: 198803
-
Rafael Espindola authored
llvm-svn: 198799
-
Chandler Carruth authored
having the include could cause weird layering problems between the IR and MC libraries. llvm-svn: 198796
-
Hal Finkel authored
MIsNeedChainEdge, which is used by -enable-aa-sched-mi (AA in misched), had an llvm_unreachable when -enable-aa-sched-mi is enabled and we reach an instruction with multiple MMOs. Instead, return a conservative answer. This allows testing -enable-aa-sched-mi on x86. Also, this moves the check above the isUnsafeMemoryObject checks. isUnsafeMemoryObject is currently correct only for instructions with one MMO (as noted in the comment in isUnsafeMemoryObject): // We purposefully do no check for hasOneMemOperand() here // in hope to trigger an assert downstream in order to // finish implementation. The problem with this is that, had the candidate edge passed the "!MIa->mayStore() && !MIb->mayStore()" check, the hoped-for assert would never happen (which could, in theory, lead to incorrect behavior if one of these secondary MMOs was volatile, for example). llvm-svn: 198795
-
Matt Arsenault authored
llvm-svn: 198794
-
Matt Arsenault authored
This matches std::set and allows using DenseSet with the functions in SetOperations.h llvm-svn: 198793
-
Rafael Espindola authored
ErrorOr is modeled after boost::optional which has a get method. llvm-svn: 198792
-