We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ed4b57 commit cb95680Copy full SHA for cb95680
llvm/lib/Target/SPIRV/SPIRVLegalizePointerLoad.cpp
@@ -13,8 +13,8 @@
13
// by logical SPIR-V.
14
//
15
// This pass relies on the assign_ptr_type intrinsic to deduce the type of the
16
-// pointed values, must replace all occurences of `ptrcast`. This is why
17
-// unhandled cases are reported as unreachable: we MUST cover all cases.
+// pointee. All occurrences of `ptrcast` must be replaced because the lead to
+// invalid SPIR-V. Unhandled cases result in an error.
18
19
// 1. Loading the first element of an array
20
0 commit comments