]> granicus.if.org Git - llvm/commit
[X86] Preserve operand flag when expanding TCRETURNri
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>
Fri, 5 Apr 2019 20:18:21 +0000 (20:18 +0000)
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>
Fri, 5 Apr 2019 20:18:21 +0000 (20:18 +0000)
commit051d4978f8dc5cd11c005c94585c16c2b0d01c7c
treea087e637e2210890f0e9710aec26b53d293d2a01
parent5d206b6327008161de13b452231e644befad49af
[X86] Preserve operand flag when expanding TCRETURNri

The expansion of TCRETURNri(64) would not keep operand flags like
undef/renamable/etc. which can result in machine verifier issues.

Also add plumbing to be able to use `-run-pass=x86-pseudo`.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@357808 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86.h
lib/Target/X86/X86ExpandPseudo.cpp
lib/Target/X86/X86TargetMachine.cpp
test/CodeGen/X86/tailcall-pseudo-64.mir [new file with mode: 0644]
test/CodeGen/X86/tailcall-pseudo.mir [new file with mode: 0644]