summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 12b5041)
raw | patch | inline | side by side (parent: 12b5041)
author | Chris Lattner <sabre@nondot.org> | |
Mon, 12 Sep 2005 21:59:22 +0000 (21:59 +0000) | ||
committer | Chris Lattner <sabre@nondot.org> | |
Mon, 12 Sep 2005 21:59:22 +0000 (21:59 +0000) |
test/Transforms/InstCombine/load.ll | patch | blob | history |
index 3c8a693dc78048c6b024177e2cce8806e0f3eb67..056f3177a135481590d08783615e46421e069d3f 100644 (file)
%R = load int* %V
ret int %R
}
+
+int %test8(int* %P) {
+ store int 1, int* %P
+ %X = load int* %P ;; Trivial store->load forwarding
+ ret int %X
+}