This should only matter in vectors with an undef component, since a
full undef vector would have been folded out.
Details
Details
- Reviewers
rampitec
Diff Detail
Diff Detail
Event Timeline
lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp | ||
---|---|---|
497 | There is another use of isInlineImmediate (check case ISD::ConstantFP) around line 761. You will return true, but you do not initialize Imm with zero there. |
lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp | ||
---|---|---|
497 | The check for ConstantFP selection isn't using the value of this, and just uses it to fallback to selection patterns which handles undef. It doesn't need to be and shouldn't be 0 always, it's just useful in this context |
There is another use of isInlineImmediate (check case ISD::ConstantFP) around line 761. You will return true, but you do not initialize Imm with zero there.