Select into corresponding V_CMP instruction based on CmpInst predicate,
stored as immediate, in last operand.
Details
Details
- Reviewers
foad arsenm - Commits
- rGd7173826331e: AMDGPU/GlobalISel: Select icmp intrinsic
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
If you're running into these, you should probably switch to using the new ballot intrinsics. I wasn't planning on working on this and fcmp since they're deprecated
llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp | ||
---|---|---|
1019–1020 | Should fail to select rather than assert |
llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp | ||
---|---|---|
1019–1020 | They shouldn't crash, but also shouldn't select. This matches the behavior of intrinsics on subtargets that don't really support the instruction |
Should fail to select rather than assert