Details
Details
Diff Detail
Diff Detail
Event Timeline
| lib/Target/AMDGPU/SIISelLowering.cpp | ||
|---|---|---|
| 538–542 | I think this should only do this for Op == ISD:SETCC. We probably do want i1 logical operations to use the scalar 64-bit instructions on the results. | |
Paths
| Differential D15035
AMDGPU/SI: Prevent the DAGCombiner from creating setcc with i1 inputs ClosedPublic Authored by • tstellarAMD on Nov 27 2015, 3:10 AM.
Details
Diff Detail Event Timeline• tstellarAMD retitled this revision from to AMDGPU/SI: Prevent the DAGCombiner from creating setcc with i1 inputs. • tstellarAMD updated this object.
This revision is now accepted and ready to land.Jan 18 2016, 1:20 PM Closed by commit rL258256: AMDGPU/SI: Prevent the DAGCombiner from creating setcc with i1 inputs (authored by tstellar). · Explain WhyJan 19 2016, 4:17 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 45210 lib/Target/AMDGPU/SIISelLowering.h
lib/Target/AMDGPU/SIISelLowering.cpp
test/CodeGen/AMDGPU/setcc-opt.ll
test/CodeGen/AMDGPU/setcc.ll
test/CodeGen/AMDGPU/trunc-cmp-constant.ll
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I think this should only do this for Op == ISD:SETCC.
We probably do want i1 logical operations to use the scalar 64-bit instructions on the results.