summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2017-10-22 18:43:23 +0000
committerFangrui Song <maskray@google.com>2017-10-22 18:43:23 +0000
commitdc168722daa842e93c3651057b3dde507a5c1e2d (patch)
tree47443a455e8469610007e3581917d3a598abcf1d
parentce55eab9360ebc0482677ad7ea7602fba2a11954 (diff)
downloadbcm5719-llvm-dc168722daa842e93c3651057b3dde507a5c1e2d.tar.gz
bcm5719-llvm-dc168722daa842e93c3651057b3dde507a5c1e2d.zip
[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 llvm-svn: 316297
-rwxr-xr-xllvm/utils/update_llc_test_checks.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/utils/update_llc_test_checks.py b/llvm/utils/update_llc_test_checks.py
index 73d9a6f963b..c089e42f526 100755
--- a/llvm/utils/update_llc_test_checks.py
+++ b/llvm/utils/update_llc_test_checks.py
@@ -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_tool_output, triple, prefixes, func_dict,
'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
OpenPOWER on IntegriCloud