summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorDiana Picus <diana.picus@linaro.org>2019-03-01 10:12:28 +0000
committerDiana Picus <diana.picus@linaro.org>2019-03-01 10:12:28 +0000
commit54829ec5d037e59f07962884bcc6c21441e60f01 (patch)
tree71581b3a788e9540dc3d00aa7c0a6df007f7ce5e /llvm/lib/Target
parentae5303d01026f392c0f186dd3bc703aeb6b16870 (diff)
downloadbcm5719-llvm-54829ec5d037e59f07962884bcc6c21441e60f01.tar.gz
bcm5719-llvm-54829ec5d037e59f07962884bcc6c21441e60f01.zip
[ARM GlobalISel] Support G_CTLZ for Thumb2
Same as ARM mode but with different opcode. llvm-svn: 355191
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/ARM/ARMLegalizerInfo.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/Target/ARM/ARMLegalizerInfo.cpp b/llvm/lib/Target/ARM/ARMLegalizerInfo.cpp
index 26c7a98c207..82817d3b5ad 100644
--- a/llvm/lib/Target/ARM/ARMLegalizerInfo.cpp
+++ b/llvm/lib/Target/ARM/ARMLegalizerInfo.cpp
@@ -206,13 +206,6 @@ ARMLegalizerInfo::ARMLegalizerInfo(const ARMSubtarget &ST) {
getActionDefinitionsBuilder({G_FREM, G_FPOW}).libcallFor({s32, s64});
- if (ST.isThumb()) {
- // FIXME: merge with the code for non-Thumb.
- computeTables();
- verify(*ST.getInstrInfo());
- return;
- }
-
if (ST.hasV5TOps()) {
getActionDefinitionsBuilder(G_CTLZ)
.legalFor({s32, s32})
OpenPOWER on IntegriCloud