[PATCH] D152145: [InstSimplify] Fold externally initializable global variables
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 5 05:04:40 PDT 2023
arsenm added inline comments.
================
Comment at: llvm/test/Transforms/InstSimplify/gv-externally-initializable.ll:10-11
+;
+ %alloca = alloca i64, align 8
+ %cmp = icmp eq ptr %alloca, @gv
+ ret i1 %cmp
----------------
I'd assume this could return false even for interposable globals
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152145/new/
https://reviews.llvm.org/D152145
More information about the llvm-commits
mailing list