OSDN Git Service

[PowerPC][HTM] Fix impossible reg-to-reg copy assert with ttest builtin
authorJinsong Ji <jji@us.ibm.com>
Tue, 16 Jul 2019 20:24:33 +0000 (20:24 +0000)
committerJinsong Ji <jji@us.ibm.com>
Tue, 16 Jul 2019 20:24:33 +0000 (20:24 +0000)
commitaae61649ecd608f5205b14e76924cf3b8f155ab0
treec14c188404466cb162eb8c9067c66261ddb9f186
parent65c12193d047638b182e7e954f56304a6b2b3b3d
[PowerPC][HTM] Fix impossible reg-to-reg copy assert with ttest builtin

Summary:
This is exposed by our internal testing.
The reduced testcase will assert with "Impossible reg-to-reg copy"

We can't use COPY to do 32-bit to 64-bit conversion.

Reviewers: kbarton, hfinkel, nemanjai

Reviewed By: hfinkel

Subscribers: hiraditya, MaskRay, llvm-commits

Tags: #llvm

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366255 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCInstrHTM.td
test/CodeGen/PowerPC/htm-ttest.ll [new file with mode: 0644]