[PATCH] D87905: [AArch64] Fix ldst optimization of non-immediate store offset
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 18 14:13:41 PDT 2020
efriedma added inline comments.
================
Comment at: llvm/test/CodeGen/AArch64/arm64-ldst-opt-match.ll:20
+ store i32 0, i32* @g, align 4
+ %0 = load i32, i32* undef, align 4
+ %toboo = icmp eq i32 %0, 0
----------------
This testcase seems extremely fragile; can we use an MIR testcase instead? (There are a bunch of in-tree examples of using -run-pass=aarch64-ldst-opt.)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87905/new/
https://reviews.llvm.org/D87905
More information about the llvm-commits
mailing list