[llvm] 96db944 - [NFC][SPIR-V] Remove stale XFAIL for spec_const_decoration.ll (#189934)

via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 1 05:24:09 PDT 2026


Author: Arseniy Obolenskiy
Date: 2026-04-01T14:24:04+02:00
New Revision: 96db944036a09e773d1e3fff4fa3805a4f75e59e

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

LOG: [NFC][SPIR-V] Remove stale XFAIL for spec_const_decoration.ll (#189934)

The test no longer fails with expensive_checks enabled

```
Unexpectedly Passed Tests (1):
  LLVM :: CodeGen/SPIRV/spec_const_decoration.ll
```
after
https://github.com/llvm/llvm-project/commit/18e695890306c6824cc15779e1acb7e5956cbec1
(https://github.com/llvm/llvm-project/pull/134016)

also add `-verify-machineinstrs` as per #188703

Added: 
    

Modified: 
    llvm/test/CodeGen/SPIRV/spec_const_decoration.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/SPIRV/spec_const_decoration.ll b/llvm/test/CodeGen/SPIRV/spec_const_decoration.ll
index 2e3b1167ccdeb..0129fcc83ba82 100644
--- a/llvm/test/CodeGen/SPIRV/spec_const_decoration.ll
+++ b/llvm/test/CodeGen/SPIRV/spec_const_decoration.ll
@@ -1,7 +1,4 @@
-; RUN: llc -O0 -mtriple=spirv64-unknown-unknown %s -o - | FileCheck %s
-
-; TODO: This test currently fails with LLVM_ENABLE_EXPENSIVE_CHECKS enabled
-; XFAIL: expensive_checks
+; RUN: llc -verify-machineinstrs -O0 -mtriple=spirv64-unknown-unknown %s -o - | FileCheck %s
 
 ; CHECK: OpDecorate %[[#SpecConst:]] SpecId 0
 ; CHECK: %[[#SpecConst]] = OpSpecConstant %[[#]] 70


        


More information about the llvm-commits mailing list