[PATCH] D21395: Fix for Bug 28144 and print register preserved in comments in asm files
Mehdi AMINI via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 15 14:13:23 PDT 2016
mehdi_amini added inline comments.
================
Comment at: lib/CodeGen/RegUsageInfoCollector.cpp:119
@@ +118,3 @@
+
+ for (MachineBasicBlock &MBB : MF) {
+ for (MachineInstr &MI : MBB) {
----------------
vivekvpandya wrote:
> I have added this code after marking callee saved registers as preserved because if any callee inside the MF body is using the register , which has marked safe above then that will be correct register usage information.
Can you take an example? I don't make sense of it.
http://reviews.llvm.org/D21395
More information about the llvm-commits
mailing list