[PATCH] D126112: [BOLT] Increase coverage of shrink wrapping [2/5]
Rafael Auler via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 11 17:33:53 PDT 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG3508ced6ea23: [BOLT] Increase coverage of shrink wrapping [2/5] (authored by rafauler).
Herald added a subscriber: jsji.
Changed prior to commit:
https://reviews.llvm.org/D126112?vs=432156&id=443796#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126112/new/
https://reviews.llvm.org/D126112
Files:
bolt/lib/Target/X86/X86MCPlusBuilder.cpp
Index: bolt/lib/Target/X86/X86MCPlusBuilder.cpp
===================================================================
--- bolt/lib/Target/X86/X86MCPlusBuilder.cpp
+++ bolt/lib/Target/X86/X86MCPlusBuilder.cpp
@@ -1097,12 +1097,16 @@
I = {Sz, IsLoad, IsStore, false, false};
break;
}
+ // Report simple stack accesses
+ case X86::MOV8rm: I = {1, true, false, false, true}; break;
case X86::MOV16rm: I = {2, true, false, false, true}; break;
case X86::MOV32rm: I = {4, true, false, false, true}; break;
case X86::MOV64rm: I = {8, true, false, false, true}; break;
+ case X86::MOV8mr: I = {1, false, true, true, true}; break;
case X86::MOV16mr: I = {2, false, true, true, true}; break;
case X86::MOV32mr: I = {4, false, true, true, true}; break;
case X86::MOV64mr: I = {8, false, true, true, true}; break;
+ case X86::MOV8mi: I = {1, false, true, false, true}; break;
case X86::MOV16mi: I = {2, false, true, false, true}; break;
case X86::MOV32mi: I = {4, false, true, false, true}; break;
} // end switch (Inst.getOpcode())
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126112.443796.patch
Type: text/x-patch
Size: 1099 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220712/7c9c8f66/attachment.bin>
More information about the llvm-commits
mailing list