- Sep 19, 2012
-
-
Michael Ilseman authored
llvm-svn: 164231
-
Michael Ilseman authored
llvm-svn: 164230
-
Duncan Sands authored
ArePhisAssumedNoAlias, and warns that OrigAliasResult may be used uninitialized. Pacify GCC. llvm-svn: 164229
-
Bill Schmidt authored
lib/Target/PowerPC/PPCISelLowering.{h,cpp} Rename LowerFormalArguments_Darwin to LowerFormalArguments_Darwin_Or_64SVR4. Rename LowerFormalArguments_SVR4 to LowerFormalArguments_32SVR4. Receive small structs right-justified in LowerFormalArguments_Darwin_Or_64SVR4. Rename LowerCall_Darwin to LowerCall_Darwin_Or_64SVR4. Rename LowerCall_SVR4 to LowerCall_32SVR4. Pass small structs right-justified in LowerCall_Darwin_Or_64SVR4. test/CodeGen/PowerPC/structsinregs.ll New test. llvm-svn: 164228
-
Filipe Cabecinhas authored
llvm-svn: 164227
-
Alexander Kornienko authored
llvm-svn: 164226
-
Hans Wennborg authored
two variables where the first variable is returned and the second ignored. I don't think this occurs in practice (other passes should have cleaned up the unused phi node), but it should still be handled correctly. Also make the logic for determining if we should return early less sketchy. llvm-svn: 164225
-
Alexey Samsonov authored
llvm-svn: 164224
-
Rafael Espindola authored
llvm-svn: 164223
-
Will Dietz authored
llvm-svn: 164222
-
Rafael Espindola authored
provide insertion order iteration, instead of the old option of DenseMap order iteration over keys and insertion order iteration over values. This is implemented by keeping two copies of each key. llvm-svn: 164221
-
Benjamin Kramer authored
clang has recently started to warn about the enum compares: lib/Serialization/ASTWriter.cpp:2760:31: warning: comparison of literal 256 with expression of type 'clang::DeclarationName::NameKind' is always true [-Wtautological-constant-out-of-range-compare] llvm-svn: 164220
-
Benjamin Kramer authored
It's a size, not a cost. llvm-svn: 164219
-
Benjamin Kramer authored
llvm-svn: 164218
-
Alexey Samsonov authored
llvm-svn: 164217
-
Benjamin Kramer authored
llvm-svn: 164216
-
Benjamin Kramer authored
It converted the CodeInfo argument to bool implicitly. llvm-svn: 164215
-
Alexey Samsonov authored
llvm-svn: 164214
-
Hans Wennborg authored
Because the test invokes llc -march=sparc, it needs to be in a directory which is only run when the sparc target is built. llvm-svn: 164211
-
Nadav Rotem authored
llvm-svn: 164210
-
Alexey Samsonov authored
llvm-svn: 164209
-
Nadav Rotem authored
Example: void foo() { ... foo(); // I'm recursive! bar(); } bar() { int a[1000]; // large stack size } rdar://10853263 llvm-svn: 164207
-
Hans Wennborg authored
This is a follow-up from r163302, which added a transformation to SimplifyCFG that turns some switches into loads from lookup tables. It was pointed out that some targets, such as GPUs and deeply embedded targets, might not find this appropriate, but SimplifyCFG doesn't have enough information about the target to decide this. This patch adds the reverse transformation to CodeGenPrep: it turns loads from lookup tables back into switches for targets where we do not build jump tables (assuming these are also the targets where lookup tables are inappropriate). Hopefully we will eventually get to have target information in SimplifyCFG, and then this CodeGenPrep transformation can be removed. llvm-svn: 164206
-
Alexey Samsonov authored
llvm-svn: 164205
-
Craig Topper authored
Remove code for setting the VEX L-bit as a function of operand size from the code emitters and the disassembler table builder. Fix a couple instructions that were still missing VEX_L. llvm-svn: 164204
-
Nadav Rotem authored
llvm-svn: 164203
-
Craig Topper authored
Add explicit VEX_L tags to all 256-bit instructions. This will allow us to remove code from the code emitters that examined operands to set the L-bit. llvm-svn: 164202
-
Andrew Trick authored
This was making it hard to scan my builds for new warnings. The warning still fires with ToT clang. But if my workaround is unnecessary for whatever reason, feel free to revert. llvm-svn: 164201
-
Dmitry Vyukov authored
llvm-svn: 164200
-
Andrew Trick authored
llvm-svn: 164199
-
Dmitry Vyukov authored
llvm-svn: 164198
-
Sean Callanan authored
data structures more rapidly. Also added fields for the other data structures in a class. I also fixed a problem where I accidentally used hasExternalLexicalStorage() instead of hasExternalVisibleStorage() to mark an incomplete object. llvm-svn: 164197
-
Craig Topper authored
Remove Context argument from TemplateDeductionInfo constructor. It was no longer needed after the unused Context member was removed in r164104. llvm-svn: 164196
-
Sean Silva authored
Two deeply nested if's obscured that the sense of the conditions was mixed up. Amazingly, TableGen's output is exactly the same even with the sense of the tests fixed; it seems that all of TableGen's conversions are symmetric so that the inverted sense was nonetheless correct "by accident". As such, I couldn't come up with a test case. If there does in fact exist a non-symmetric conversion in TableGen's type system, then a test case should be prepared. Despite the symmetry, both if's are left in place for robustness in the face of future changes. Review by Jakob. llvm-svn: 164195
-
Greg Clayton authored
llvm-svn: 164192
-
Sean Silva authored
Fixes an observed instance of nondeterministic TableGen output. Review by Jakob. llvm-svn: 164191
-
Sean Silva authored
Fixes an observed instance of nondeterministic TableGen output. Review by Jakob. llvm-svn: 164190
-
Sean Silva authored
This is a generally useful utility; there's no reason to have it hidden in CodeGenDAGPatterns.cpp. Also, rename it to fit the other comparators in Record.h Review by Jakob. llvm-svn: 164189
-
rdar://problem/11752499Greg Clayton authored
Improve error messages when memory read/write fails. llvm-svn: 164188
-
Eli Friedman authored
llvm-svn: 164187
-