diff options
| author | Diana Picus <diana.picus@linaro.org> | 2017-11-14 11:20:32 +0000 |
|---|---|---|
| committer | Diana Picus <diana.picus@linaro.org> | 2017-11-14 11:20:32 +0000 |
| commit | 21a42bcc0be2e99fd17c3751e2488e1df9f3e636 (patch) | |
| tree | cb6efebc387e2912f206a9079f68cda2f7be22c5 /llvm/lib/CodeGen/CodeGen.cpp | |
| parent | 5269875ef965e5aa377db32e5cf7fd9ae44f1fbe (diff) | |
| download | llvm-21a42bcc0be2e99fd17c3751e2488e1df9f3e636.zip llvm-21a42bcc0be2e99fd17c3751e2488e1df9f3e636.tar.gz llvm-21a42bcc0be2e99fd17c3751e2488e1df9f3e636.tar.bz2 | |
[ARM GlobalISel] Remove C++ code for G_CONSTANT
Get rid of the handwritten instruction selector code for handling
G_CONSTANT. This code wasn't checking all the preconditions correctly
anyway, so it's better to leave it to TableGen, which can handle at
least some cases correctly (e.g. MOVi, MOVi16, folding into binary
operations). Also add tests to cover those cases.
llvm-svn: 318146
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions
