[llvm] r352187 - [ARM GlobalISel] Remove rebase artifact from r351882. NFC
Diana Picus via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 25 02:48:35 PST 2019
Author: rovka
Date: Fri Jan 25 02:48:35 2019
New Revision: 352187
URL: http://llvm.org/viewvc/llvm-project?rev=352187&view=rev
Log:
[ARM GlobalISel] Remove rebase artifact from r351882. NFC
r351882 introduced some superfluous calls to mark G_INTTOPTR and
G_PTRTOINT as legal (looks like a rebase mishap). Remove them.
Modified:
llvm/trunk/lib/Target/ARM/ARMLegalizerInfo.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMLegalizerInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMLegalizerInfo.cpp?rev=352187&r1=352186&r2=352187&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMLegalizerInfo.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMLegalizerInfo.cpp Fri Jan 25 02:48:35 2019
@@ -135,9 +135,6 @@ ARMLegalizerInfo::ARMLegalizerInfo(const
setAction({Op, s32}, Libcall);
}
- getActionDefinitionsBuilder(G_INTTOPTR).legalFor({{p0, s32}});
- getActionDefinitionsBuilder(G_PTRTOINT).legalFor({{s32, p0}});
-
getActionDefinitionsBuilder({G_ASHR, G_LSHR, G_SHL})
.legalFor({{s32, s32}})
.clampScalar(1, s32, s32);
More information about the llvm-commits
mailing list