opt-bisect/optnone disable the AMDGPUUniformAnnotateValues pass.
The heuristic in the custom selector for brcond deferred the
branch uniformity check to the pattern, which would fail.
Details
Details
Diff Detail
Diff Detail
Event Timeline
lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp | ||
---|---|---|
1647 | Why cannot we use condition register w/o a copy? |
lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp | ||
---|---|---|
1647 | It needs to be associated with a chain and glue. You don't know if the condition is using vcc already, like the condition is probably an unknown SGPR right ow. I'm actually surprised this worked with SCC, since I think this needs to use the glued def without the copy but it seems to do the right thing. |
Why cannot we use condition register w/o a copy?