[all-commits] [llvm/llvm-project] 56049b: Fix tests defaulting to incorrect triples on AIX
Jake Egan via All-commits
all-commits at lists.llvm.org
Mon Sep 27 08:31:40 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 56049b71294c7a338a43a00937d867edd787a260
https://github.com/llvm/llvm-project/commit/56049b71294c7a338a43a00937d867edd787a260
Author: Jake Egan <Jake.Egan at ibm.com>
Date: 2021-09-27 (Mon, 27 Sep 2021)
Changed paths:
M llvm/test/CodeGen/Mips/2008-07-15-InternalConstant.ll
M llvm/test/CodeGen/Mips/2008-07-15-SmallSection.ll
M llvm/test/CodeGen/Mips/2009-11-16-CstPoolLoad.ll
M llvm/test/CodeGen/Mips/2010-07-20-Switch.ll
M llvm/test/CodeGen/Mips/Fast-ISel/bswap1.ll
M llvm/test/CodeGen/Mips/Fast-ISel/callabi.ll
M llvm/test/CodeGen/Mips/Fast-ISel/memtest1.ll
M llvm/test/CodeGen/Mips/addi.ll
M llvm/test/CodeGen/Mips/align16.ll
M llvm/test/CodeGen/Mips/blockaddr.ll
M llvm/test/CodeGen/Mips/br-jmp.ll
M llvm/test/CodeGen/Mips/brdelayslot.ll
M llvm/test/CodeGen/Mips/brind-tailcall.ll
M llvm/test/CodeGen/Mips/cconv/arguments-float.ll
M llvm/test/CodeGen/Mips/cconv/arguments-fp128.ll
M llvm/test/CodeGen/Mips/cconv/arguments-hard-float-varargs.ll
M llvm/test/CodeGen/Mips/cconv/arguments-hard-float.ll
M llvm/test/CodeGen/Mips/cconv/arguments-hard-fp128.ll
M llvm/test/CodeGen/Mips/cconv/arguments-varargs.ll
M llvm/test/CodeGen/Mips/cconv/arguments.ll
M llvm/test/CodeGen/Mips/cconv/return-hard-fp128.ll
M llvm/test/CodeGen/Mips/compactbranches/compact-branches.ll
M llvm/test/CodeGen/Mips/copy-fp64.ll
M llvm/test/CodeGen/Mips/delay-slot-fill-forward.ll
M llvm/test/CodeGen/Mips/fp16static.ll
M llvm/test/CodeGen/Mips/fpneeded.ll
M llvm/test/CodeGen/Mips/global-address.ll
M llvm/test/CodeGen/Mips/gpopt-explict-section.ll
M llvm/test/CodeGen/Mips/indirectcall.ll
M llvm/test/CodeGen/Mips/interrupt-attr-64-error.ll
M llvm/test/CodeGen/Mips/interrupt-attr-args-error.ll
M llvm/test/CodeGen/Mips/interrupt-attr-error.ll
M llvm/test/CodeGen/Mips/interrupt-attr.ll
M llvm/test/CodeGen/Mips/jtstat.ll
M llvm/test/CodeGen/Mips/micromips-delay-slot-jr.ll
M llvm/test/CodeGen/Mips/micromips-delay-slot.ll
M llvm/test/CodeGen/Mips/micromips-jal.ll
M llvm/test/CodeGen/Mips/micromips-rdhwr-directives.ll
M llvm/test/CodeGen/Mips/mips16_32_10.ll
M llvm/test/CodeGen/Mips/mips16_32_3.ll
M llvm/test/CodeGen/Mips/mips16_32_4.ll
M llvm/test/CodeGen/Mips/mips16_32_5.ll
M llvm/test/CodeGen/Mips/mips16_32_6.ll
M llvm/test/CodeGen/Mips/mips16_32_7.ll
M llvm/test/CodeGen/Mips/mips16_32_8.ll
M llvm/test/CodeGen/Mips/mips16_32_9.ll
M llvm/test/CodeGen/Mips/mirparser/target-flags-static-tls.mir
M llvm/test/CodeGen/Mips/mno-ldc1-sdc1.ll
M llvm/test/CodeGen/Mips/named-register-n32.ll
M llvm/test/CodeGen/Mips/named-register-n64.ll
M llvm/test/CodeGen/Mips/named-register-o32.ll
M llvm/test/CodeGen/Mips/no-frame-pointer-elim.ll
M llvm/test/CodeGen/Mips/rdhwr-directives.ll
M llvm/test/CodeGen/Mips/stacksize.ll
M llvm/test/CodeGen/Mips/tailcall/tailcall-wrong-isa.ll
M llvm/test/CodeGen/Mips/tailcall/tailcall.ll
M llvm/test/CodeGen/NVPTX/globals_lowering.ll
M llvm/test/CodeGen/SPARC/blockaddr.ll
M llvm/test/CodeGen/SPARC/constpool.ll
M llvm/test/CodeGen/SPARC/exception.ll
M llvm/test/CodeGen/SPARC/func-addr.ll
M llvm/test/CodeGen/SPARC/globals.ll
M llvm/test/CodeGen/SPARC/obj-relocs.ll
Log Message:
-----------
Fix tests defaulting to incorrect triples on AIX
The tests only specify -march, so when the tests are run on AIX the target OS defaults to AIX, which causes the tests to misbehave.
This patch constrains the tests by specifying -mtriple instead of -march.
Reviewed By: daltenty, jsji, MaskRay
Differential Revision: https://reviews.llvm.org/D110186
More information about the All-commits
mailing list