[PATCH] D97952: [test] Fix new CodeGenPrepare test for non-X86 systems

Benjamin Kramer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 5 02:48:49 PST 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG202ae987d3e7: [test] Fix new CodeGenPrepare test for non-X86 systems (authored by thejh, committed by bkramer).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97952/new/

https://reviews.llvm.org/D97952

Files:
  llvm/test/Transforms/CodeGenPrepare/X86/remove-assume-block.ll
  llvm/test/Transforms/CodeGenPrepare/remove-assume-block.ll


Index: llvm/test/Transforms/CodeGenPrepare/X86/remove-assume-block.ll
===================================================================
--- llvm/test/Transforms/CodeGenPrepare/X86/remove-assume-block.ll
+++ llvm/test/Transforms/CodeGenPrepare/X86/remove-assume-block.ll
@@ -1,10 +1,8 @@
-; RUN: opt -S -codegenprepare < %s | FileCheck %s
+; RUN: opt -S -codegenprepare -mtriple=x86_64-linux < %s | FileCheck %s
 ;
 ; Ensure that blocks that only contain @llvm.assume are removed completely
 ; during CodeGenPrepare.
 
-target triple = "x86_64-unknown-linux-gnu"
-
 ; CHECK-LABEL: @simple(
 ; CHECK-NEXT: end:
 ; CHECK-NEXT: ret void


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97952.328459.patch
Type: text/x-patch
Size: 635 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210305/249b8fe0/attachment.bin>


More information about the llvm-commits mailing list