[llvm] bb80872 - [NFC] Use llvm-as instead of llc

Chris Bieneman via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 1 11:09:09 PST 2022


Author: Chris Bieneman
Date: 2022-02-01T13:07:22-06:00
New Revision: bb808720bbdc9ba40c2c6af07797d4eb26520427

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

LOG: [NFC] Use llvm-as instead of llc

llvm-as does everything this test requires, but doesn't depend on a
target being registered. This gets the test passing when
LLVM_DEFAUL_TARGET_TRIPLE is unset.

Added: 
    

Modified: 
    llvm/test/Verifier/x86_amx9.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Verifier/x86_amx9.ll b/llvm/test/Verifier/x86_amx9.ll
index a22a16ef5caae..36b4135ba96ad 100644
--- a/llvm/test/Verifier/x86_amx9.ll
+++ b/llvm/test/Verifier/x86_amx9.ll
@@ -1,4 +1,4 @@
-; RUN: not llc %s -o /dev/null 2>&1 | FileCheck %s
+; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
 
 @buf = dso_local global [1024 x i8] zeroinitializer, align 16
 


        


More information about the llvm-commits mailing list