[PATCH] D34579: Fold fneg and fabs like multiplications

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 23 17:10:20 PDT 2017


rampitec added inline comments.


================
Comment at: test/CodeGen/AMDGPU/fold-fmul-to-neg-abs.ll:34
+}
+
+declare i32 @llvm.amdgcn.workitem.id.x() #0
----------------
arsenm wrote:
> Needs test for fneg/fabs case
That is the first test. fneg(fabs) became v_or_b32. Initially it was an incorrect xor.


https://reviews.llvm.org/D34579





More information about the llvm-commits mailing list