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 40106 - Build 40188: arc lint + arc unit 
Event Timeline
| llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp | ||
|---|---|---|
| 959 | It fails with SI_TCRETURN/S_SETPC. | |
Comment Actions
LGTM with test comment
| llvm/test/CodeGen/AMDGPU/call-waw-waitcnt.mir | ||
|---|---|---|
| 3 | 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