llvm-project
a2b5fd7f - [SandboxIR][Region] Auxiliary vector metadata now requires a region (#137443)

Commit
125 days ago
[SandboxIR][Region] Auxiliary vector metadata now requires a region (#137443) The auxiliary vector is represented by the !sandboxaux metadata. But until now adding an instruction to the aux vector would not automatically add it to the region (i.e., it would not mark it with !sandboxvec). This behavior was problematic when generating regions from metadata, because you wouldn't know which region owns the auxiliary vector. This patch fixes this issue: We now require that an instruction with !sandboxaux also defines its region with !sandboxvec.
Author
vporpo
Parents
Loading