[PATCH] D96351: [AIX] Enable the default AltiVec ABI on AIX

Hubert Tong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 24 09:21:11 PST 2021


hubert.reinterpretcast added inline comments.


================
Comment at: llvm/lib/Target/PowerPC/PPCISelLowering.cpp:15161
   }
+//FIXME: This warning should ideally emitted in the front end.
+  const auto &TM = getTargetMachine();
----------------



================
Comment at: llvm/test/CodeGen/PowerPC/aix-csr-vector-extabi.ll:1
+; RUN: llc -mtriple=powerpc-unknown-aix-xcoff -vec-extabi -verify-machineinstrs -mcpu=pwr7 \
+; RUN:     -mattr=+altivec -stop-after=prologepilog < %s | \
----------------
If I'm getting the gist of this correctly, there's a plain rename that could be done instead. I suggest checking in the rename of the extabi test separately from this patch.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96351/new/

https://reviews.llvm.org/D96351



More information about the llvm-commits mailing list