[clang] [llvm] [SPIRV] `getMBB()` isn't always safe to call (PR #236948)

Alex Voicu via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 30 04:57:38 PDT 2026


================
@@ -0,0 +1,14 @@
+; Test the case where we create a type in the entry block without having set it before.
----------------
AlexVlx wrote:

A consequence of setting the insertion point is setting the MBB (it), which is also tracked.

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


More information about the cfe-commits mailing list