[PATCH] D92398: [AIX][XCOFF] emit traceback table for function in aix

Jason Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 8 14:24:48 PST 2020


jasonliu added inline comments.


================
Comment at: llvm/lib/Target/PowerPC/PPCISelLowering.cpp:7315
+      bool FoundReg = false;
+      for (auto Reg : IsPPC64 ? GPR_64 : GPR_32) {
+        if (Reg == ArgReg) {
----------------
Do you actually need to traverse to find out exactly what register is used?
Could you use queries in VA.getValVT() to find out whether it's a fixed param or float param?
For example, VA.getValVT().isScalarInteger().


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D92398



More information about the llvm-commits mailing list