[PATCH] D48636: [Sparc] Flush register windows for @llvm.returnaddress(1)

James Y Knight via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 13 11:38:17 PDT 2018


jyknight added inline comments.


================
Comment at: lib/Target/Sparc/SparcISelLowering.cpp:2733
 
+  SDValue Chain = getFLUSHW(Op, DAG);
+
----------------
Maybe pull FLUSHW out of getFRAMEADDR, into LowerFRAMEADDR, so it doesn't get emitted twice here for returnaddress(>= 2) calls?


Repository:
  rL LLVM

https://reviews.llvm.org/D48636





More information about the llvm-commits mailing list