Skip to content

Commit 49853c6

Browse files
authored
Revert "Map FPFastMathModeINTEL on SPV_INTEL_fp_fast_math_mode (#2360)" (#12923)
This reverts commit 339c1c6. It's a good-tiny fix, but we have to revert it for now.
1 parent 1f0dc36 commit 49853c6

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

llvm-spirv/lib/SPIRV/libSPIRV/SPIRVEntry.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -904,8 +904,6 @@ class SPIRVCapability : public SPIRVEntryNoId<OpCapability> {
904904
return ExtensionID::SPV_INTEL_fast_composite;
905905
case internal::CapabilitySubgroupRequirementsINTEL:
906906
return ExtensionID::SPV_INTEL_subgroup_requirements;
907-
case CapabilityFPFastMathModeINTEL:
908-
return ExtensionID::SPV_INTEL_fp_fast_math_mode;
909907
default:
910908
return {};
911909
}

llvm-spirv/test/extensions/INTEL/SPV_INTEL_fp_fast_math_mode/fp_contract_reassoc_fast_mode.ll

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,12 @@
55
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o - | FileCheck %s --check-prefix=CHECK-LLVM
66

77
; CHECK-SPIRV-ON: 2 Capability FPFastMathModeINTEL
8-
; CHECK-SPIRV-ON: SPV_INTEL_fp_fast_math_mode
98
; CHECK-SPIRV-ON: 3 Name [[mu:[0-9]+]] "mul"
109
; CHECK-SPIRV-ON: 3 Name [[su:[0-9]+]] "sub"
1110
; CHECK-SPIRV-ON-DAG: 4 Decorate [[mu]] FPFastMathMode 65536
1211
; CHECK-SPIRV-ON-DAG: 4 Decorate [[su]] FPFastMathMode 131072
1312

1413
; CHECK-SPIRV-OFF-NOT: 2 Capability FPFastMathModeINTEL
15-
; CHECK-SPIRV-OFF-NOT: SPV_INTEL_fp_fast_math_mode
1614
; CHECK-SPIRV-OFF: 3 Name [[mu:[0-9]+]] "mul"
1715
; CHECK-SPIRV-OFF: 3 Name [[su:[0-9]+]] "sub"
1816
; CHECK-SPIRV-OFF-NOT: 4 Decorate [[mu]] FPFastMathMode 65536

0 commit comments

Comments
 (0)