V_SET_INACTIVE is implemented with S_NOT which clobbers SCC.
Mark sure it is marked appropriately.
Details
Details
- Reviewers
piotr foad - Commits
- rG0e8f50595e22: [AMDGPU] Mark V_SET_INACTIVE as defining SCC
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Looks fine modulo the inline comment.
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.set.inactive.ll | ||
---|---|---|
47 | It's not clear to me what the generated code here looks like, such that it passes these checks. The code generated by globalisel would fail these checks I think. Maybe autogenerate the checks for this whole file? |
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.set.inactive.ll | ||
---|---|---|
47 | I had to change the GlobalISel to a generate file exactly because the output is different. |
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.set.inactive.ll | ||
---|---|---|
47 | Yes please, I think generated checks would be better. |
It's not clear to me what the generated code here looks like, such that it passes these checks. The code generated by globalisel would fail these checks I think.
Maybe autogenerate the checks for this whole file?