diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-01-26 02:04:09 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-01-26 02:04:09 +0000 |
commit | 7754f85885f8a961cb403ef13ab39583492d2b1e (patch) | |
tree | 37d47e7d7daa736acf8de3396db92f5919811557 /lib/Target/X86/X86InstrCompiler.td | |
parent | 36c3bc431b92f1573b3f3bd75b644774681998ee (diff) | |
download | external_llvm-7754f85885f8a961cb403ef13ab39583492d2b1e.zip external_llvm-7754f85885f8a961cb403ef13ab39583492d2b1e.tar.gz external_llvm-7754f85885f8a961cb403ef13ab39583492d2b1e.tar.bz2 |
Target/X86: Tweak win64's tailcall.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124272 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86InstrCompiler.td')
-rw-r--r-- | lib/Target/X86/X86InstrCompiler.td | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/X86InstrCompiler.td b/lib/Target/X86/X86InstrCompiler.td index 70478b8..f72eaa7 100644 --- a/lib/Target/X86/X86InstrCompiler.td +++ b/lib/Target/X86/X86InstrCompiler.td @@ -866,8 +866,8 @@ def : Pat<(X86tcret (i32 texternalsym:$dst), imm:$off), (TCRETURNdi texternalsym:$dst, imm:$off)>, Requires<[In32BitMode]>; -def : Pat<(X86tcret GR64_TC:$dst, imm:$off), - (TCRETURNri64 GR64_TC:$dst, imm:$off)>, +def : Pat<(X86tcret ptr_rc_tailcall:$dst, imm:$off), + (TCRETURNri64 ptr_rc_tailcall:$dst, imm:$off)>, Requires<[In64BitMode]>; def : Pat<(X86tcret (load addr:$dst), imm:$off), |