[PATCH] D27938: [LICM] Report successful hoists/sinks
Adam Nemet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 3 10:04:12 PST 2017
anemet added inline comments.
================
Comment at: test/Transforms/LICM/opt-remarks.ll:11-16
+ %addr = getelementptr i32, i32* %array, i32 %j
+ %a = load i32, i32* %addr
+; CHECK: remark: /tmp/kk.c:2:20: hosting load
+ %b = load i32, i32* %p, !dbg !8
+ %a2 = add i32 %a, %b
+ store i32 %a2, i32* %addr
----------------
davide wrote:
> This test is fine but you should add another one where you show up that the remark is emitted when a load is sunk
You mean, store, right?
https://reviews.llvm.org/D27938
More information about the llvm-commits
mailing list