MCPcopy Create free account
hub / github.com/KhronosGroup/SPIRV-Tools / ACCheckFail

Function ACCheckFail

test/opt/graphics_robust_access_test.cpp:209–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207}
208
209std::string ACCheckFail(const std::string& access_chain_inst,
210 const std::string& original,
211 const std::string& transformed) {
212 return "\n ; CHECK: %ac = " + access_chain_inst + " %ptr_ty %var" +
213 (transformed.empty() ? "" : " ") + transformed +
214 "\n ; CHECK-NOT: " + access_chain_inst +
215 "\n ; CHECK-NOT: OpReturn"
216 "\n %ac = " +
217 access_chain_inst + " %ptr_ty %var " + (original.empty() ? "" : " ") +
218 original + "\n";
219}
220
221// Access chain into:
222// Vector

Callers 1

TEST_FFunction · 0.85

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected