This change copies the SelectionDAG's handling of hasPostISelHook for
atomic instructions with no use to global-isel. This will enable
selecting the no return version of the atomic instructions in
global-isel.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/AMDGPU/SIISelLowering.cpp | ||
---|---|---|
11601 | use_nodbg_empty? |
Comment Actions
I was hoping to avoid reproducing the SelectionDAG scheme for this. IMO the main reason for the existence of post-isel hooks is workarounds for DAG limitations. I guess we could move this to patterns in the DAG anyway, so I guess that's a separate improvement.
use_nodbg_empty?