File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -162,11 +162,7 @@ class TranslatorOpts {
162162 GenKernelArgNameMD = ArgNameMD;
163163 }
164164
165- void enableAllExtensions () {
166- #define EXT (X ) ExtStatusMap[ExtensionID::X] = true ;
167- #include " LLVMSPIRVExtensions.inc"
168- #undef EXT
169- }
165+ void enableAllExtensions ();
170166
171167 void enableGenArgNameMD () { GenKernelArgNameMD = true ; }
172168
Original file line number Diff line number Diff line change 4747using namespace llvm ;
4848using namespace SPIRV ;
4949
50+ void TranslatorOpts::enableAllExtensions () {
51+ #define EXT (X ) ExtStatusMap[ExtensionID::X] = true ;
52+ #include " LLVMSPIRVExtensions.inc"
53+ #undef EXT
54+ }
55+
5056bool TranslatorOpts::isUnknownIntrinsicAllowed (IntrinsicInst *II) const
5157 noexcept {
5258 if (!SPIRVAllowUnknownIntrinsics.has_value ())
You can’t perform that action at this time.
0 commit comments