[llvm] 0b91e78 - Add missing triples to tests in 0c29d3ff2233696f663ae34a8aeda23c750ac68f so they target the right arch.

Sam McCall via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 13 06:58:59 PST 2020


Author: Sam McCall
Date: 2020-01-13T15:58:49+01:00
New Revision: 0b91e78a719065c67b33bf82b0cde3d4ecfe3b7d

URL: https://github.com/llvm/llvm-project/commit/0b91e78a719065c67b33bf82b0cde3d4ecfe3b7d
DIFF: https://github.com/llvm/llvm-project/commit/0b91e78a719065c67b33bf82b0cde3d4ecfe3b7d.diff

LOG: Add missing triples to tests in 0c29d3ff2233696f663ae34a8aeda23c750ac68f so they target the right arch.

Added: 
    

Modified: 
    llvm/test/CodeGen/X86/align-branch-boundary-default.ll
    llvm/test/CodeGen/X86/align-branch-boundary-default.s

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/X86/align-branch-boundary-default.ll b/llvm/test/CodeGen/X86/align-branch-boundary-default.ll
index d611f39b2f4d..d2b4433426fb 100644
--- a/llvm/test/CodeGen/X86/align-branch-boundary-default.ll
+++ b/llvm/test/CodeGen/X86/align-branch-boundary-default.ll
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs -O3 -mcpu=skylake -filetype=obj < %s | llvm-objdump -d --no-show-raw-insn - | FileCheck %s
+; RUN: llc -verify-machineinstrs -O3 -mtriple=x86_64-unknown-unknown -mcpu=skylake -filetype=obj < %s | llvm-objdump -d --no-show-raw-insn - | FileCheck %s
 
 ; TODO: At the moment, autopadding for SKX102 is not the default, but
 ; eventually we'd like ti to be for the integrated assembler (only).

diff  --git a/llvm/test/CodeGen/X86/align-branch-boundary-default.s b/llvm/test/CodeGen/X86/align-branch-boundary-default.s
index b44f5b60c1e1..fef553d9640f 100644
--- a/llvm/test/CodeGen/X86/align-branch-boundary-default.s
+++ b/llvm/test/CodeGen/X86/align-branch-boundary-default.s
@@ -1,4 +1,4 @@
-# RUN: llvm-mc -mcpu=skylake -filetype=obj < %s | llvm-objdump -d --no-show-raw-insn - | FileCheck %s
+# RUN: llvm-mc -mtriple=x86_64-unknown-unknown -mcpu=skylake -filetype=obj < %s | llvm-objdump -d --no-show-raw-insn - | FileCheck %s
 
 # The textual assembler *can't* default to autopadding as there's no syntax
 # to selectively disable it just yet.


        


More information about the llvm-commits mailing list