[llvm-commits] [llvm] r40702 - /llvm/trunk/lib/Target/X86/X86InstrX86-64.td
Evan Cheng
evan.cheng at apple.com
Wed Aug 1 16:46:10 PDT 2007
Author: evancheng
Date: Wed Aug 1 18:46:10 2007
New Revision: 40702
URL: http://llvm.org/viewvc/llvm-project?rev=40702&view=rev
Log:
Mac OS X X86-64 low 4G address not available.
Modified:
llvm/trunk/lib/Target/X86/X86InstrX86-64.td
Modified: llvm/trunk/lib/Target/X86/X86InstrX86-64.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrX86-64.td?rev=40702&r1=40701&r2=40702&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrX86-64.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrX86-64.td Wed Aug 1 18:46:10 2007
@@ -1016,16 +1016,16 @@
def : Pat<(store (i64 (X86Wrapper tconstpool:$src)), addr:$dst),
(MOV64mi32 addr:$dst, tconstpool:$src)>,
- Requires<[SmallCode, IsStatic]>;
+ Requires<[SmallCode, HasLow4G, IsStatic]>;
def : Pat<(store (i64 (X86Wrapper tjumptable:$src)), addr:$dst),
(MOV64mi32 addr:$dst, tjumptable:$src)>,
- Requires<[SmallCode, IsStatic]>;
+ Requires<[SmallCode, HasLow4G, IsStatic]>;
def : Pat<(store (i64 (X86Wrapper tglobaladdr:$src)), addr:$dst),
(MOV64mi32 addr:$dst, tglobaladdr:$src)>,
- Requires<[SmallCode, IsStatic]>;
+ Requires<[SmallCode, HasLow4G, IsStatic]>;
def : Pat<(store (i64 (X86Wrapper texternalsym:$src)), addr:$dst),
(MOV64mi32 addr:$dst, texternalsym:$src)>,
- Requires<[SmallCode, IsStatic]>;
+ Requires<[SmallCode, HasLow4G, IsStatic]>;
// Calls
// Direct PC relative function call for small code model. 32-bit displacement
More information about the llvm-commits
mailing list