[PowerPC] Do not emit dssall on AIX
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Mon, 17 May 2021 11:05:36 +0000 (06:05 -0500)
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Mon, 17 May 2021 11:08:06 +0000 (06:08 -0500)
commit74ae778176ec4dc8303e7f0c7dbab973c4c2e97c
treed5e5358c422383828ad7f9919b17944e6a7d9f9e
parente827d74a97dcf6623470baf3bda86b1c9544e3df
[PowerPC] Do not emit dssall on AIX

This instruction is a nop on all server cores (certainly on all
cores that AIX supports) so it is fine to emit a nop instead of it.
In fact, that is exactly what XL emits. So we emit a nop on AIX
and we leave the codegen as is on other platforms since there may
indeed be cores out there for which this actually does some prefetching.
llvm/lib/Target/PowerPC/PPCInstrAltivec.td
llvm/lib/Target/PowerPC/PPCInstrInfo.td
llvm/test/CodeGen/PowerPC/dssall.ll [new file with mode: 0644]