mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-15 15:48:38 +00:00
Fix a typo
llvm-svn: 79634
This commit is contained in:
parent
fb55ceecf3
commit
e51af67afc
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user