- It fixes the problem that llvm.trap() not getting the nomerge attribute.
- It sets nomerge flag for the node if the instruction has nomerge arrtibute.
Fixes #53011
Differential D146164
Fix nomerge attribute not working with __builtin_trap(). zequanwu on Mar 15 2023, 1:00 PM. Authored by
Details
Fixes #53011
Diff Detail
Event TimelineComment Actions Since we're touching SelectionDAG, does GlobalISel also need updating?
Comment Actions
Comment Actions FYI: this attribute appears to not work on (at least) x86 and arm currently, because the backend also does some merging: https://godbolt.org/z/d43M83oax
Comment Actions Thanks for reporting it. I'll look into it later.
|