[PATCH] D91629: [PowerPC] Handle FP physical register in inline asm constraint.

Zarko Todorovski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 10 13:19:58 PST 2021


ZarkoCA accepted this revision.
ZarkoCA added a comment.
This revision is now accepted and ready to land.

LGTM, only some question about a comment.



================
Comment at: llvm/lib/Target/PowerPC/PPCISelLowering.cpp:15610
+    // For float registers, we can't defer to the base class as it will match
+    // the SPILLTOVSX class.
+    if (Constraint.size() > 3 && Constraint[1] == 'f') {
----------------
I think this should be `SPILLTOVSRRC` instead of `SPILLTOVSX`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D91629



More information about the llvm-commits mailing list