[llvm] 1867091 - [FastISel][test] Add ELF triple after D90877

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 9 10:27:47 PST 2020


Author: Fangrui Song
Date: 2020-11-09T10:27:36-08:00
New Revision: 1867091f561b2108a7c20f7d6e416ceb40467786

URL: https://github.com/llvm/llvm-project/commit/1867091f561b2108a7c20f7d6e416ceb40467786
DIFF: https://github.com/llvm/llvm-project/commit/1867091f561b2108a7c20f7d6e416ceb40467786.diff

LOG: [FastISel][test] Add ELF triple after D90877

MachO has different symbol naming and thus on a MachO platform this test has a
different behavior without a triple.

Added: 
    

Modified: 
    llvm/test/CodeGen/X86/fastisel-memset-flush.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/X86/fastisel-memset-flush.ll b/llvm/test/CodeGen/X86/fastisel-memset-flush.ll
index 5d63f5574393..4be5f09c9c76 100644
--- a/llvm/test/CodeGen/X86/fastisel-memset-flush.ll
+++ b/llvm/test/CodeGen/X86/fastisel-memset-flush.ll
@@ -1,4 +1,4 @@
-; RUN: %llc_dwarf -O0 < %s | FileCheck %s
+; RUN: %llc_dwarf -mtriple=x86_64 -O0 < %s | FileCheck %s
 
 define dso_local void @foo() !dbg !7 {
 entry:


        


More information about the llvm-commits mailing list