[ARM GlobalISel] Remove rebase artifact from r351882. NFC
authorDiana Picus <diana.picus@linaro.org>
Fri, 25 Jan 2019 10:48:35 +0000 (10:48 +0000)
committerDiana Picus <diana.picus@linaro.org>
Fri, 25 Jan 2019 10:48:35 +0000 (10:48 +0000)
r351882 introduced some superfluous calls to mark G_INTTOPTR and
G_PTRTOINT as legal (looks like a rebase mishap). Remove them.

llvm-svn: 352187

llvm/lib/Target/ARM/ARMLegalizerInfo.cpp

index 37a5f3d..5b39ae4 100644 (file)
@@ -135,9 +135,6 @@ ARMLegalizerInfo::ARMLegalizerInfo(const ARMSubtarget &ST) {
       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);