[llvm] [SPIR-V] Support extension toggling and enabling all (PR #85503)

Arvind Sudarsanam via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 24 13:59:03 PDT 2024


================
@@ -0,0 +1,7 @@
+; RUN: llc -O0 -mtriple=spirv32-unknown-unknown --spirv-extensions=all %s -o - | FileCheck %s
+
+define i6 @getConstantI6() {
+  ret i6 2
+}
+
+; CHECK: OpExtension "SPV_INTEL_arbitrary_precision_integers"
----------------
asudarsa wrote:

Why is there a check for only one extension here? Thanks

https://github.com/llvm/llvm-project/pull/85503


More information about the llvm-commits mailing list