]> granicus.if.org Git - llvm/commit
[AMDGPU] Allow abs/neg source modifiers on v_cndmask_b32
authorJay Foad <jay.foad@gmail.com>
Wed, 10 Jul 2019 14:53:47 +0000 (14:53 +0000)
committerJay Foad <jay.foad@gmail.com>
Wed, 10 Jul 2019 14:53:47 +0000 (14:53 +0000)
commit75eb01ba01479c5635b7a87e3c989632bb954e80
treea46ce6438c09b1279bc7b02c067ddfef928e50fe
parentd1678ed7a7b3ae90da77701c275f47c34663f394
[AMDGPU] Allow abs/neg source modifiers on v_cndmask_b32

Summary:
D59191 added support for these modifiers in the assembler and
disassembler. This patch just teaches instruction selection that it can
use them.

Reviewers: arsenm, tstellar

Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, hiraditya, llvm-commits

Tags: #llvm

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365640 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/SIInstructions.td
test/CodeGen/AMDGPU/fneg-combines.ll
test/CodeGen/AMDGPU/select-fabs-fneg-extract.ll
test/CodeGen/AMDGPU/sint_to_fp.i64.ll