[x32] Enable sibcall optimization on x32.
authorMichael Kuperstein <michael.m.kuperstein@intel.com>
Wed, 28 Jan 2015 13:38:48 +0000 (13:38 +0000)
committerMichael Kuperstein <michael.m.kuperstein@intel.com>
Wed, 28 Jan 2015 13:38:48 +0000 (13:38 +0000)
commitf387611ac2d6f40d9070aa434fc5aa4131e238c3
treeb1bdf7a2fb7c6a67db01d6ec79b5df3106029b31
parent52c7dcd55d2c23c08353fe4aaf2802246d71ce08
[x32] Enable sibcall optimization on x32.

This includes two things:
1) Fix TCRETURNdi and TCRETURN64di patterns to check the right thing (LP64 as opposed to target bitness).
2) Allow LEA64_32 in MatchingStackOffset.

llvm-svn: 227307
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/lib/Target/X86/X86InstrCompiler.td
llvm/test/CodeGen/X86/sibcall.ll