An outstanding load with same destination sgpr as call could cause PC to be
updated with junk value on return.
Details
Details
- Reviewers
arsenm rampitec - Commits
- rGd11b93ec6ac1: AMDGPU: Avoid overwriting saved PC
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 40098 Build 40180: arc lint + arc unit
Event Timeline
llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp | ||
---|---|---|
958 | It fails with SI_TCRETURN/S_SETPC. |
Comment Actions
LGTM with test comment
llvm/test/CodeGen/AMDGPU/call-waw-waitcnt.mir | ||
---|---|---|
4 | Could use a short description here of what this is testing, and point out the specific register names |
This is a potentially confusing name. It's the return address operand