[llvm-commits] [llvm] r79634 - /llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp
Anton Korobeynikov
asl at math.spbu.ru
Fri Aug 21 08:41:56 PDT 2009
Author: asl
Date: Fri Aug 21 10:41:56 2009
New Revision: 79634
URL: http://llvm.org/viewvc/llvm-project?rev=79634&view=rev
Log:
Fix a typo
Modified:
llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp?rev=79634&r1=79633&r2=79634&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp Fri Aug 21 10:41:56 2009
@@ -737,7 +737,7 @@
// 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) {
More information about the llvm-commits
mailing list