AMDGPU: Preserve flags in fdiv_fast lowering
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sun, 16 Jul 2023 18:51:17 +0000 (14:51 -0400)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 18 Jul 2023 10:57:07 +0000 (06:57 -0400)
commitc28e09c8d1ca3a82467e71af89f1ac7b71458fca
treec1e07c6a158aecec547355022cb0ff309c0f7dea
parent4a81283b949b197b3f651e71aa3ef81095a4da93
AMDGPU: Preserve flags in fdiv_fast lowering

We were dropping the flags and thus blocking contract into potential
fadd users. GlobalISel was already preserving the flags here.

https://reviews.llvm.org/D155443
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/test/CodeGen/AMDGPU/fdiv.ll