[llvm] r316297 - [utils] Support -mtriple=powerpc64
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 22 11:43:23 PDT 2017
Author: maskray
Date: Sun Oct 22 11:43:23 2017
New Revision: 316297
URL: http://llvm.org/viewvc/llvm-project?rev=316297&view=rev
Log:
[utils] Support -mtriple=powerpc64
Summary: test/CodeGen/PowerPC/pr33093.ll uses both powerpc64 (big-endian) and powerpc64le while the former was unsupported.
Subscribers: nemanjai
Differential Revision: https://reviews.llvm.org/D39164
Modified:
llvm/trunk/utils/update_llc_test_checks.py
Modified: llvm/trunk/utils/update_llc_test_checks.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/update_llc_test_checks.py?rev=316297&r1=316296&r2=316297&view=diff
==============================================================================
--- llvm/trunk/utils/update_llc_test_checks.py (original)
+++ llvm/trunk/utils/update_llc_test_checks.py Sun Oct 22 11:43:23 2017
@@ -122,7 +122,7 @@ def scrub_asm_arm_eabi(asm):
asm = SCRUB_TRAILING_WHITESPACE_RE.sub(r'', asm)
return asm
-def scrub_asm_powerpc64le(asm):
+def scrub_asm_powerpc64(asm):
# Scrub runs of whitespace out of the assembly, but leave the leading
# whitespace in place.
asm = SCRUB_WHITESPACE_RE.sub(r' ', asm)
@@ -158,7 +158,8 @@ def build_function_body_dictionary(raw_t
'thumb-eabi': (scrub_asm_arm_eabi, ASM_FUNCTION_ARM_RE),
'thumbv8-eabi': (scrub_asm_arm_eabi, ASM_FUNCTION_ARM_RE),
'armeb-eabi': (scrub_asm_arm_eabi, ASM_FUNCTION_ARM_RE),
- 'powerpc64le': (scrub_asm_powerpc64le, ASM_FUNCTION_PPC_RE),
+ 'powerpc64': (scrub_asm_powerpc64, ASM_FUNCTION_PPC_RE),
+ 'powerpc64le': (scrub_asm_powerpc64, ASM_FUNCTION_PPC_RE),
's390x': (scrub_asm_systemz, ASM_FUNCTION_SYSTEMZ_RE),
}
handlers = None
More information about the llvm-commits
mailing list