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:
4678c2d
)
Fix a typo
author
Anton Korobeynikov
<asl@math.spbu.ru>
Fri, 21 Aug 2009 15:41:56 +0000
(15:41 +0000)
committer
Anton Korobeynikov
<asl@math.spbu.ru>
Fri, 21 Aug 2009 15:41:56 +0000
(15:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79634
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86ISelDAGToDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86ISelDAGToDAG.cpp
b/lib/Target/X86/X86ISelDAGToDAG.cpp
index b020e433331de7b24f1bd60b83cc20e355c4f397..eb6048d50cb6ce8e8f126d037f7c74fa00e0c574 100644
(file)
--- a/
lib/Target/X86/X86ISelDAGToDAG.cpp
+++ b/
lib/Target/X86/X86ISelDAGToDAG.cpp
@@
-737,7
+737,7
@@
bool X86DAGToDAGISel::MatchWrapper(SDValue N, X86ISelAddressMode &AM) {
// Under X86-64 non-small code model, GV (and friends) are 64-bits, so
// they cannot be folded into immediate fields.
// FIXME: This can be improved for kernel and other models?
- (M == CodeModel::Small || CodeModel::Kernel) &&
+ (M == CodeModel::Small ||
M ==
CodeModel::Kernel) &&
// Base and index reg must be 0 in order to use %rip as base and lowering
// must allow RIP.
!AM.hasBaseOrIndexReg() && N.getOpcode() == X86ISD::WrapperRIP) {