[PATCH] D111288: [fir] Add data flow optimization pass
Kiran Chandramohan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 18 03:09:07 PDT 2021
kiranchandramohan accepted this revision.
kiranchandramohan added a comment.
I guess some of the arithmetic operations at various places can be removed to shorten the test. Like for e.g:
%65 = arith.subi %64, %c1 : index
%66 = arith.muli %5, %65 : index
%67 = arith.addi %66, %62 : index
I am OK with creating a ticket to reduce the test later and proceeding. Please wait for Mehdi.
================
Comment at: flang/test/Fir/memref-data-flow.fir:403
+// CHECK: %{{.*}} = fir.load %{{.*}} : !fir.ref<i32>
+// CHECL-NOT: fir.store %{{.*}} to %{{.*}} : !fir.ref<i32>
+// CHECK: %{{.*}} = fir.load %{{.*}} : !fir.ref<i32>
----------------
CHECL-NOT -> CHECK-NOT and couple of places below.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111288/new/
https://reviews.llvm.org/D111288
More information about the llvm-commits
mailing list