llvm.org GIT mirror llvm / e69ff5b
ARM64: remove -m32/-m64 mapping with ARM. This is causing the ARM build-bots to fail since they only include the ARM backend and can't create an ARM64 target. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205132 91177308-0d34-0410-b5e6-96231b3b80d8 Tim Northover 6 years ago
2 changed file(s) with 2 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
822822 case Triple::UnknownArch:
823823 case Triple::aarch64:
824824 case Triple::aarch64_be:
825 case Triple::arm64:
825826 case Triple::msp430:
826827 case Triple::systemz:
827828 case Triple::ppc64le:
855856 case Triple::sparcv9: T.setArch(Triple::sparc); break;
856857 case Triple::x86_64: T.setArch(Triple::x86); break;
857858 case Triple::spir64: T.setArch(Triple::spir); break;
858 case Triple::arm64: T.setArch(Triple::arm); break;
859859 }
860860 return T;
861861 }
865865 switch (getArch()) {
866866 case Triple::UnknownArch:
867867 case Triple::amdil:
868 case Triple::arm:
868869 case Triple::armeb:
869870 case Triple::hexagon:
870871 case Triple::le32:
899900 case Triple::sparc: T.setArch(Triple::sparcv9); break;
900901 case Triple::x86: T.setArch(Triple::x86_64); break;
901902 case Triple::spir: T.setArch(Triple::spir64); break;
902 case Triple::arm: T.setArch(Triple::arm64); break;
903903 }
904904 return T;
905905 }
351351 EXPECT_EQ(Triple::UnknownArch, T.get32BitArchVariant().getArch());
352352 EXPECT_EQ(Triple::UnknownArch, T.get64BitArchVariant().getArch());
353353
354 T.setArch(Triple::arm);
355 EXPECT_EQ(Triple::arm, T.get32BitArchVariant().getArch());
356 EXPECT_EQ(Triple::arm64, T.get64BitArchVariant().getArch());
357
358354 T.setArch(Triple::mips);
359355 EXPECT_EQ(Triple::mips, T.get32BitArchVariant().getArch());
360356 EXPECT_EQ(Triple::mips64, T.get64BitArchVariant().getArch());