[PATCH] D46232: [SystemZ, IPRA] determineCalleeSaves must always add return register and DP.

Vivek Pandya via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 30 10:26:32 PDT 2018


vivekvpandya added inline comments.


================
Comment at: test/CodeGen/SystemZ/ipra-03.ll:88
+
+attributes #4 = { norecurse nounwind "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="z13" "target-features"="+transactional-execution,+vector" "unsafe-fp-math"="false" "use-soft-float"="false" }
+
----------------
here changing "no-frame-pointer-elim"="true" fixes the problem. It adds spill/restore for R11


https://reviews.llvm.org/D46232





More information about the llvm-commits mailing list