[llvm] a459529 - [Mips] Convert a test to check 'target=...'

Paul Robinson via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 6 15:24:38 PST 2022


Author: Paul Robinson
Date: 2022-12-06T15:24:23-08:00
New Revision: a459529858844a2c1b48b9a446cbccd52410ad6b

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

LOG: [Mips] Convert a test to check 'target=...'

Although it should base the check on host, not target, if possible.

Part of the project to eliminate special handling for triples in lit
expressions.

Added: 
    

Modified: 
    llvm/test/CodeGen/WebAssembly/immediates.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/WebAssembly/immediates.ll b/llvm/test/CodeGen/WebAssembly/immediates.ll
index 1aa2deeb05234..e2342f391b13c 100644
--- a/llvm/test/CodeGen/WebAssembly/immediates.ll
+++ b/llvm/test/CodeGen/WebAssembly/immediates.ll
@@ -3,7 +3,8 @@
 ; Usually MIPS hosts uses a legacy (non IEEE 754-2008) encoding for NaNs.
 ; Tests like `nan_f32` failed in attempt to compare hard-coded IEEE 754-2008
 ; NaN value and a legacy NaN value provided by a system.
-; XFAIL: mips-, mipsel-, mips64-, mips64el-
+; FIXME: This should be based on host not target, but there's no "system-mips" feature.
+; XFAIL: target={{(mips|mipsel|mips64|mips64el)-.*}}
 
 ; Test that basic immediates assemble as expected.
 


        


More information about the llvm-commits mailing list