This patch added support for the intrinsics llvm.ppc.dcbfps and llvm.ppc.dcbstps.
dcbfps and dcbstps are actually extended mnemonics of dcbf.
dcbfps RA,RB ---> dcbf RA,RB,4
dcbstps RA,RB ---> dcbf RA,RB,6
Differential D91323
[PowerPC] Add support for intrinsics dcbfps and dcbstps in P10. Esme on Nov 12 2020, 12:23 AM. Authored by
Details
This patch added support for the intrinsics llvm.ppc.dcbfps and llvm.ppc.dcbstps. dcbfps RA,RB ---> dcbf RA,RB,4
Diff Detail
Event TimelineComment Actions This LGTM.
Comment Actions According to ISA,
it is appropriate to set IntrReadMem, IntrArgMemOnly for these dcbf_ instructions. Comment Actions @steven.zhang I still have some doubts about the properties setting. According to the behavior described by ISA, it also includes the write operation?
I think it would be a safer way to only set IntrArgMemOnly. |
I didn't go into the detail of the definition of the intrinsic. But could you please double confirm if we need to set IntrWriteMem, IntrArgMemOnly as it seems that dbcf stuff is trying to write memory.