[AMDGPU] Ressociate patterns with sub to use SALU
authorchenglin.bi <bichenglin5980@gmail.com>
Mon, 17 Apr 2023 22:49:16 +0000 (06:49 +0800)
committerchenglin.bi <bichenglin5980@gmail.com>
Mon, 17 Apr 2023 22:49:41 +0000 (06:49 +0800)
commitb3529b5bf3ba2cd7f38665de16450afefb263c9b
tree686baa9d020f70ecc6cef4087124dac7172359bb
parent776027277818af1a2672dc396cdd64d79dacf495
[AMDGPU] Ressociate patterns with sub to use SALU

Reviewed By: rampitec

Differential Revision: https://reviews.llvm.org/D148463
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/lib/Target/AMDGPU/SIISelLowering.h
llvm/test/CodeGen/AMDGPU/combine-cond-add-sub.ll
llvm/test/CodeGen/AMDGPU/reassoc-sub-add.ll [new file with mode: 0644]