- Mar 01, 2013
-
-
Akira Hatanaka authored
This patch eliminates the need to emit a constant move instruction when this pattern is matched: (select (setgt a, Constant), T, F) The pattern above effectively turns into this: (conditional-move (setlt a, Constant + 1), F, T) llvm-svn: 176384
-
Jean-Luc Duprat authored
llvm-svn: 176382
-
Eli Bendersky authored
Also removed the comments of "should produce..." because they completely don't match the actually produced output. llvm-svn: 176381
-
Akira Hatanaka authored
llvm-svn: 176380
-
Akira Hatanaka authored
llvm-svn: 176378
-
Eli Bendersky authored
detail. The was this test was written, it was relying on an implementation detail (fixups) and hence was very brittle (relying, among other things, on the exact ordering of statistics printed by MC). The test was rewritten to check a more observable output difference. While it doesn't cover 100% of the things the original test covered, it's a good practice to write regression tests this way. If we want to check that internal details and invariants hold, such tests should be expressed as unit tests. llvm-svn: 176377
-
Edwin Vane authored
The make (all) target takes care of creating lit configs and auto-generating tests. The problem with the original 'lit.site.cfg' target is it's not recursive and doesn't fully create everything necessary for testing clang-tools-extra. llvm-svn: 176374
-
Michael Liao authored
- These tests wont't crash on trunk but would be better to add them so that they don't break again in the future. llvm-svn: 176369
-
Chad Rosier authored
handle indirect register inputs. rdar://13322011 llvm-svn: 176367
-
Benjamin Kramer authored
Fixes PR15384. llvm-svn: 176366
-
Michael Ilseman authored
This reduces the time actually spent doing string to ID conversion and shows a 10% improvement in compile time for a particularly bad case that involves ARM Neon intrinsics (these have many overloads). Patch by Jean-Luc Duprat! llvm-svn: 176365
-
Michael Liao authored
- ISD::SHL/SRL/SRA must have either both scalar or both vector operands but TLI.getShiftAmountTy() so far only return scalar type. As a result, backend logic assuming that breaks. - Rename the original TLI.getShiftAmountTy() to TLI.getScalarShiftAmountTy() and re-define TLI.getShiftAmountTy() to return target-specificed scalar type or the same vector type as the 1st operand. - Fix most TICG logic assuming TLI.getShiftAmountTy() a simple scalar type. llvm-svn: 176364
-
Chad Rosier authored
dispatch code. As far as I can tell the thumb2 code is behaving as expected. I was able to compile and run the associated test case for both arm and thumb1. rdar://13066352 llvm-svn: 176363
-
Christian Konig authored
Signed-off-by:
Christian König <christian.koenig@amd.com> Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 176359
-
Jyotsna Verma authored
llvm-svn: 176358
-
Peng Cheng authored
llvm-svn: 176353
-
Yiannis Tsiouris authored
Remove GCInfoDeleter from passes and comments. llvm-svn: 176347
-
Christian Konig authored
v2: based on Michels patch, but now allows copying of all registers sizes. Signed-off-by:
Michel Dänzer <michel.daenzer@amd.com> Signed-off-by:
Christian König <christian.koenig@amd.com> llvm-svn: 176346
-
Christian Konig authored
They won't match anyway. Signed-off-by:
Christian König <christian.koenig@amd.com> llvm-svn: 176345
-
Christian Konig authored
It's much easier to specify the encoding with tablegen directly. Signed-off-by:
Christian König <christian.koenig@amd.com> llvm-svn: 176344
-
Christian Konig authored
Signed-off-by:
Christian König <christian.koenig@amd.com> llvm-svn: 176343
-
Christian Konig authored
Signed-off-by:
Christian König <christian.koenig@amd.com> llvm-svn: 176342
-
Duncan Sands authored
llvm-svn: 176341
-
Alexey Samsonov authored
llvm-svn: 176337
-
Michael Liao authored
llvm-svn: 176334
-
Akira Hatanaka authored
llvm-svn: 176330
-
Akira Hatanaka authored
successor basic blocks. Currently this is off by default. llvm-svn: 176329
-
Akira Hatanaka authored
terminator. No functionality change. llvm-svn: 176326
-
Akira Hatanaka authored
This function will be used later when the capability to search delay slot filling instructions in successor blocks is added. No intended functionality changes. llvm-svn: 176325
-
Akira Hatanaka authored
llvm-svn: 176321
-
Akira Hatanaka authored
can fill the delay slot. Currently, this is off by default. llvm-svn: 176320
-
Akira Hatanaka authored
No functionality change. llvm-svn: 176318
-
Akira Hatanaka authored
llvm-svn: 176317
-
Andrew Trick authored
llvm-svn: 176316
-
Andrew Trick authored
llvm-svn: 176315
-
Andrew Trick authored
We avoided computing DAG height/depth during Node printing because it shouldn't depend on an otherwise valid DAG. But this has become far too annoying for the common case of a valid DAG where we want to see valid values. If doing the computation on-the-fly turns out to be a problem in practice, then I'll add a mode to the diagnostics to only force it when we're likely to have a valid DAG, otherwise explicitly print INVALID instead of bogus numbers. For now, just go for it all the time. llvm-svn: 176314
-
Akira Hatanaka authored
This class tracks dependence between memory instructions using underlying objects of memory operands. llvm-svn: 176313
-
Daniel Malea authored
- if you have LLDB checked out in $llvm/tools, CMake will build it now! - LLDB is known to build on Linux with libstdc++ and GCC 4.6/4.7 or Clang 3.3 - to run lldb tests, do "make check-lldb" after a build llvm-svn: 176307
-
Eli Bendersky authored
SelectionDAGIsel::LowerArguments needs a function, not a basic block. So it makes sense to pass it the function instead of extracting a basic-block from the function and then tossing it. This is also more self-documenting (functions have arguments, BBs don't). In addition, added comments to a couple of Select* methods. llvm-svn: 176305
-
- Feb 28, 2013
-
-
Bill Wendling authored
This was causing the folding set to fail to fold attributes, because it was being calculated in one spot without an empty values string but here with an empty values string. llvm-svn: 176301
-