[PATCH] D97956: [PowePC][AIX] Handle variadic vector call operands.

Chris Bowler via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 5 07:32:19 PST 2021


cebowleratibm requested changes to this revision.
cebowleratibm added inline comments.
This revision now requires changes to proceed.


================
Comment at: llvm/lib/Target/PowerPC/PPCISelLowering.cpp:7123
+
+      if (I != E && ArgLocs[I].isRegLoc() && ArgLocs[I].needsCustom()) {
+        assert(!IsPPC64 &&
----------------
```
&& ArgLocs[I].getValNo() == OriginalValNo
```

I don't think there is such a case right now, but if the next arg happened to be an unrelated custom reg for another argument, you don't want to consume it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D97956



More information about the llvm-commits mailing list