[llvm-commits] [llvm] r51054 - /llvm/trunk/lib/Target/X86/X86InstrInfo.td
Evan Cheng
evan.cheng at apple.com
Tue May 13 09:45:56 PDT 2008
Author: evancheng
Date: Tue May 13 11:45:56 2008
New Revision: 51054
URL: http://llvm.org/viewvc/llvm-project?rev=51054&view=rev
Log:
- Don't treat anyext 16-bit load as a 32-bit load if it's volatile.
- Correct a pasto.
Modified:
llvm/trunk/lib/Target/X86/X86InstrInfo.td
Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrInfo.td?rev=51054&r1=51053&r2=51054&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrInfo.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrInfo.td Tue May 13 11:45:56 2008
@@ -239,7 +239,7 @@
if (ExtType == ISD::NON_EXTLOAD)
return true;
if (ExtType == ISD::EXTLOAD)
- return LD->getAlignment() >= 16;
+ return LD->getAlignment() >= 8 && !LD->isVolatile();
}
return false;
}]>;
@@ -252,7 +252,7 @@
if (ExtType == ISD::NON_EXTLOAD)
return true;
if (ExtType == ISD::EXTLOAD)
- return LD->getAlignment() >= 16;
+ return LD->getAlignment() >= 16 && !LD->isVolatile();
}
return false;
}]>;
More information about the llvm-commits
mailing list