From 9c41c0b504090f3c764f513ff97a706df529465d Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Mon, 4 Mar 2019 23:37:41 +0000 Subject: [PATCH] Fix invalid target triples in tests. (NFC) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355349 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/WinEH/wineh-no-demotion.ll | 2 +- test/CodeGen/WinEH/wineh-statenumbering-cleanups.ll | 4 ++-- .../SanitizerCoverage/cmp-tracing-api-x86_32.ll | 2 +- test/Transforms/LoadStoreVectorizer/X86/preserve-order32.ll | 4 ++-- .../Transforms/LoopStrengthReduce/2011-10-03-CritEdgeMerge.ll | 2 +- test/Transforms/LoopStrengthReduce/2011-10-06-ReusePhi.ll | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/test/CodeGen/WinEH/wineh-no-demotion.ll b/test/CodeGen/WinEH/wineh-no-demotion.ll index 0901e27c301..277dd5c0e6a 100644 --- a/test/CodeGen/WinEH/wineh-no-demotion.ll +++ b/test/CodeGen/WinEH/wineh-no-demotion.ll @@ -1,4 +1,4 @@ -; RUN: opt -mtriple=x86_x64-pc-windows-msvc -S -winehprepare -disable-demotion -disable-cleanups < %s | FileCheck %s +; RUN: opt -mtriple=x86_64-pc-windows-msvc -S -winehprepare -disable-demotion -disable-cleanups < %s | FileCheck %s declare i32 @__CxxFrameHandler3(...) diff --git a/test/CodeGen/WinEH/wineh-statenumbering-cleanups.ll b/test/CodeGen/WinEH/wineh-statenumbering-cleanups.ll index a18e412255e..4a7189a0ed6 100644 --- a/test/CodeGen/WinEH/wineh-statenumbering-cleanups.ll +++ b/test/CodeGen/WinEH/wineh-statenumbering-cleanups.ll @@ -1,5 +1,5 @@ -; RUN: sed -e s/.Cxx:// %s | opt -mtriple=x86-pc-windows-msvc -S -x86-winehstate | FileCheck %s -; RUN: sed -e s/.SEH:// %s | opt -mtriple=x86-pc-windows-msvc -S -x86-winehstate | FileCheck %s +; RUN: sed -e s/.Cxx:// %s | opt -mtriple=i386-pc-windows-msvc -S -x86-winehstate | FileCheck %s +; RUN: sed -e s/.SEH:// %s | opt -mtriple=i386-pc-windows-msvc -S -x86-winehstate | FileCheck %s declare i32 @__CxxFrameHandler3(...) declare i32 @_except_handler3(...) diff --git a/test/Instrumentation/SanitizerCoverage/cmp-tracing-api-x86_32.ll b/test/Instrumentation/SanitizerCoverage/cmp-tracing-api-x86_32.ll index badf07db2c1..0f42756fdcb 100644 --- a/test/Instrumentation/SanitizerCoverage/cmp-tracing-api-x86_32.ll +++ b/test/Instrumentation/SanitizerCoverage/cmp-tracing-api-x86_32.ll @@ -1,7 +1,7 @@ ; Test -sanitizer-coverage-trace-compares=1 API declarations on a non-x86_64 arch ; RUN: opt < %s -sancov -sanitizer-coverage-level=1 -sanitizer-coverage-trace-compares=1 -S | FileCheck %s -target triple = "x86_32-unknown-linux-gnu" +target triple = "i386-unknown-linux-gnu" define i32 @foo() #0 { entry: ret i32 0 diff --git a/test/Transforms/LoadStoreVectorizer/X86/preserve-order32.ll b/test/Transforms/LoadStoreVectorizer/X86/preserve-order32.ll index 92d05f76fc6..3cfe7454baf 100644 --- a/test/Transforms/LoadStoreVectorizer/X86/preserve-order32.ll +++ b/test/Transforms/LoadStoreVectorizer/X86/preserve-order32.ll @@ -1,5 +1,5 @@ -; RUN: opt -mtriple=x86-linux -load-store-vectorizer -S -o - %s | FileCheck %s -; RUN: opt -mtriple=x86-linux -aa-pipeline=basic-aa -passes='function(load-store-vectorizer)' -S -o - %s | FileCheck %s +; RUN: opt -mtriple=x86_64-unknown-linux -load-store-vectorizer -S -o - %s | FileCheck %s +; RUN: opt -mtriple=x86_64-unknown-linux -aa-pipeline=basic-aa -passes='function(load-store-vectorizer)' -S -o - %s | FileCheck %s target datalayout = "e-p:32:32-p1:64:64-p2:64:64-p3:32:32-p4:64:64-p5:32:32-p24:64:64-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64" diff --git a/test/Transforms/LoopStrengthReduce/2011-10-03-CritEdgeMerge.ll b/test/Transforms/LoopStrengthReduce/2011-10-03-CritEdgeMerge.ll index 5588995a8ce..5f910ce8402 100644 --- a/test/Transforms/LoopStrengthReduce/2011-10-03-CritEdgeMerge.ll +++ b/test/Transforms/LoopStrengthReduce/2011-10-03-CritEdgeMerge.ll @@ -2,7 +2,7 @@ ; ; Test LSR's use of SplitCriticalEdge during phi rewriting. -target triple = "x86-apple-darwin" +target triple = "x86_64-apple-darwin" ; Provide legal integer types. target datalayout = "n8:16:32:64" diff --git a/test/Transforms/LoopStrengthReduce/2011-10-06-ReusePhi.ll b/test/Transforms/LoopStrengthReduce/2011-10-06-ReusePhi.ll index 5923a42fa65..a35aa9f36fe 100644 --- a/test/Transforms/LoopStrengthReduce/2011-10-06-ReusePhi.ll +++ b/test/Transforms/LoopStrengthReduce/2011-10-06-ReusePhi.ll @@ -3,7 +3,7 @@ ; Test LSR's intelligence regarding phi reuse. ; Verify that scaled GEPs are not reused. rdar://5064068 -target triple = "x86-apple-darwin" +target triple = "x86_64-apple-darwin" ; Provide legal integer types. target datalayout = "n8:16:32:64" -- 2.50.1