[PATCH] D131757: [instcombine] Test for zero initialisation optimisation of a product given fast flags
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 16 01:02:54 PDT 2022
fhahn added inline comments.
================
Comment at: llvm/test/Transforms/InstCombine/remove-loop-phi-fastmul.ll:233
+ %i.02 = phi i64 [ 0, %entry ], [0, %entry_2], [ %inc, %for.body ]
+ %f_prod.01 = phi double [ 0.0, %entry ], [0.0, %entry_2], [ %mul, %for.body ]
+ %arrayidx = getelementptr inbounds [1000 x double], ptr %arr_d, i64 0, i64 %i.02
----------------
might be good to also have a variant of this test that doesn't have 0.0 as incoming value.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131757/new/
https://reviews.llvm.org/D131757
More information about the llvm-commits
mailing list