commit | ec4b3c5670b15527ae9e68cd987735a3851979bf | [log] [tgz] |
---|---|---|
author | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | Sat Jun 16 03:46:59 2018 +0000 |
committer | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | Sat Jun 16 03:46:59 2018 +0000 |
tree | 6ad81d472a942fdc665561ad08fc7017b61ee591 | |
parent | 885e8cb37168e7bcbeb05a322d9882c5405a8eac [diff] |
[AMDGPU] setcc (select cc, CT, CF), CF, eq | ne -> xor cc, -1 | cc This is the common case in the BE when we serialize condition and then rematerialize it. Use either original or inverted condition. Differential Revision: https://reviews.llvm.org/D48246 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@334882 91177308-0d34-0410-b5e6-96231b3b80d8