[PATCH] [X86] Teach load folding to accept scalar _Int users of MOVSS/MOVSD.

Sanjay Patel spatel at rotateright.com
Fri Jun 19 07:09:30 PDT 2015


LGTM. Thanks!


================
Comment at: lib/Target/X86/X86InstrInfo.cpp:5298
@@ -5297,3 +5297,3 @@
 
-static bool isPartialRegisterLoad(const MachineInstr &LoadMI,
-                                  const MachineFunction &MF) {
+/// Whether \p LoadMI is a partial register load that we can't fold into \p MI,
+/// because the latter uses contents that wouldn't be defined in the folded
----------------
"Check if \p LoadMI is a partial register load that we can fold into \p MI" ?

http://reviews.llvm.org/D10554

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list