llvm.org GIT mirror llvm / 25f1aa0
Fix a typo git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79634 91177308-0d34-0410-b5e6-96231b3b80d8 Anton Korobeynikov 11 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
736736 // Under X86-64 non-small code model, GV (and friends) are 64-bits, so
737737 // they cannot be folded into immediate fields.
738738 // FIXME: This can be improved for kernel and other models?
739 (M == CodeModel::Small || CodeModel::Kernel) &&
739 (M == CodeModel::Small || M == CodeModel::Kernel) &&
740740 // Base and index reg must be 0 in order to use %rip as base and lowering
741741 // must allow RIP.
742742 !AM.hasBaseOrIndexReg() && N.getOpcode() == X86ISD::WrapperRIP) {