[llvm-commits] [llvm] r51092 - /llvm/trunk/lib/Target/X86/X86InstrInfo.td
Evan Cheng
evan.cheng at apple.com
Tue May 13 19:49:44 PDT 2008
Author: evancheng
Date: Tue May 13 21:49:43 2008
New Revision: 51092
URL: http://llvm.org/viewvc/llvm-project?rev=51092&view=rev
Log:
Doh. Alignment is in bytes, not in bits.
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=51092&r1=51091&r2=51092&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrInfo.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrInfo.td Tue May 13 21:49:43 2008
@@ -239,7 +239,7 @@
if (ExtType == ISD::NON_EXTLOAD)
return true;
if (ExtType == ISD::EXTLOAD)
- return LD->getAlignment() >= 16 && !LD->isVolatile();
+ return LD->getAlignment() >= 2 && !LD->isVolatile();
}
return false;
}]>;
@@ -252,7 +252,7 @@
if (ExtType == ISD::NON_EXTLOAD)
return true;
if (ExtType == ISD::EXTLOAD)
- return LD->getAlignment() >= 32 && !LD->isVolatile();
+ return LD->getAlignment() >= 4 && !LD->isVolatile();
}
return false;
}]>;
More information about the llvm-commits
mailing list