We were not reporting isFNegFree for v2f32, although it is effectively
free after legalization. The generic combine was pulling fneg out of
the fma source operands, and the AMDGPU combine was doing the
opposite.
Details
Details
Diff Detail
Diff Detail
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
11,020 ms | x64 debian > libarcher.races::lock-unrelated.c |
Event Timeline
Comment Actions
LGTM
llvm/test/CodeGen/AMDGPU/fneg-combines.ll | ||
---|---|---|
2581 | It actually can be free even in packed f32 form with neg_lo/neg_hi with FeaturePackedFP32Ops. |
It actually can be free even in packed f32 form with neg_lo/neg_hi with FeaturePackedFP32Ops.