]> granicus.if.org Git - llvm/commit
[mips] Guard indirect and tailcall pseudo instructions correctly.
authorSimon Dardis <simon.dardis@mips.com>
Wed, 8 Nov 2017 11:13:44 +0000 (11:13 +0000)
committerSimon Dardis <simon.dardis@mips.com>
Wed, 8 Nov 2017 11:13:44 +0000 (11:13 +0000)
commitd036c9c43962fbd5cd25ba343c3652a9a7304379
tree7475407f378bb7349b0ee831ecbe77ee1b0b5d80
parent4514930eb0a4dba443c3ebd32f108dcf410970f6
[mips] Guard indirect and tailcall pseudo instructions correctly.

Previously these pseudo instructions were not guarded by ISA, so their
select was dependant on the ordering of the entries in the DAG matcher.

Reviewers: atanasyan

Differential Revision: https://reviews.llvm.org/D39723

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317681 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MicroMips32r6InstrInfo.td
lib/Target/Mips/MicroMipsInstrInfo.td
lib/Target/Mips/MipsInstrInfo.td
test/CodeGen/Mips/brind-tailcall.ll [new file with mode: 0644]
test/CodeGen/Mips/tailcall/tailcall.ll