projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9f5f3f
)
Doh. Alignment is in bytes, not in bits.
author
Evan Cheng
<evan.cheng@apple.com>
Wed, 14 May 2008 02:49:43 +0000
(
02:49
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Wed, 14 May 2008 02:49:43 +0000
(
02:49
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51092
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86InstrInfo.td
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86InstrInfo.td
b/lib/Target/X86/X86InstrInfo.td
index 159b01112c20394485a5592c16ebaa931d3aa7fe..14669a945e7aa059968ac8dcc51a98fdefcd909f 100644
(file)
--- a/
lib/Target/X86/X86InstrInfo.td
+++ b/
lib/Target/X86/X86InstrInfo.td
@@
-239,7
+239,7
@@
def loadi16 : PatFrag<(ops node:$ptr), (i16 (ld node:$ptr)), [{
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
@@
def loadi32 : PatFrag<(ops node:$ptr), (i32 (ld node:$ptr)), [{
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;
}]>;