[all-commits] [llvm/llvm-project] 74ae77: [PowerPC] Do not emit dssall on AIX

Nemanja Ivanovic via All-commits all-commits at lists.llvm.org
Mon May 17 04:08:33 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 74ae778176ec4dc8303e7f0c7dbab973c4c2e97c
      https://github.com/llvm/llvm-project/commit/74ae778176ec4dc8303e7f0c7dbab973c4c2e97c
  Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
  Date:   2021-05-17 (Mon, 17 May 2021)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCInstrAltivec.td
    M llvm/lib/Target/PowerPC/PPCInstrInfo.td
    A llvm/test/CodeGen/PowerPC/dssall.ll

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list