[PATCH] D36425: [ZoneAlgo] Allow two writes that write identical values into same array slot
Hongbin Zheng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 7 15:38:23 PDT 2017
etherzhhb added inline comments.
================
Comment at: test/ForwardOpTree/forward_load_double_write.ll:21-22
+ %A_idx = getelementptr inbounds double, double* %A, i32 %j
+ store double %val, double* %A_idx
+ store double %val, double* %A_idx
+ br label %inc
----------------
Isn't this could be "canonicalized" by gvn?
https://reviews.llvm.org/D36425
More information about the llvm-commits
mailing list