Skip to content

Commit beaaadd

Browse files
jcranmer-inteljsji
authored andcommitted
Switch the default of reverse translation to emitting opaque pointers. (#2074)
Most of the changes are adding -emit-opaque-pointers=0 lines to test code. The code generally works in the forward translation at this point, although there is still substantial work that needs to be done to finish porting the tests. Original commit: KhronosGroup/SPIRV-LLVM-Translator@10b1354
1 parent 3a95a40 commit beaaadd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm-spirv/tools/llvm-spirv/llvm-spirv.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,7 @@ constexpr static bool SPIRVOpaquePointersDefault = false;
161161
#endif
162162

163163
static cl::opt<bool>
164-
EmitOpaquePointers("emit-opaque-pointers",
165-
cl::init(SPIRVOpaquePointersDefault),
164+
EmitOpaquePointers("emit-opaque-pointers", cl::init(true),
166165
cl::desc("Emit opaque instead of typed LLVM pointers "
167166
"for the translation from SPIR-V."),
168167
cl::Hidden);

0 commit comments

Comments
 (0)