Adds a new intrinsic mapping to the xscvhpsp instruction.
A separate pattern has to be used for the match so that the argument can be converted from a VRRC register type to a VSRC register type.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Target/PowerPC/PPCInstrVSX.td | ||
---|---|---|
2155 | I am slightly surprised that tblgen is able to infer all the types for this output pattern. However, can you please explicitly specify the output type, if for no other reason but consistency with the rest of the anonymous patterns in this file. Something like: |
lib/Target/PowerPC/PPCInstrVSX.td | ||
---|---|---|
2155 | Fixed |
I am slightly surprised that tblgen is able to infer all the types for this output pattern. However, can you please explicitly specify the output type, if for no other reason but consistency with the rest of the anonymous patterns in this file. Something like:
(v4f32 (XVCVHPSP (COPY_TO_REGCLASS $A, VSRC)))