OSDN Git Service

AMDGPU: Treat more custom operations as canonicalizing
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 6 Aug 2018 21:58:11 +0000 (21:58 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 6 Aug 2018 21:58:11 +0000 (21:58 +0000)
commitf583815bba9a5dacfff8530e26ee11d35023a383
treec69062fb14009dade1d26d828527b7a11d9805b5
parenta0ad797381190e652adfbeed509e4e57a2fc4dff
AMDGPU: Treat more custom operations as canonicalizing

Everything should quiet, and I think everything should
flush.

I assume the min3/med3/max3 follow the same rules
as regular min/max for flushing, which should at
least be conservatively correct.

There are still more operations that need to
be handled.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@339065 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
lib/Target/AMDGPU/SIISelLowering.cpp
test/CodeGen/AMDGPU/known-never-snan.ll