[PATCH] D56810: [Mem2Reg] Enable promotion for bitcastable load/store values

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 16 14:40:23 PST 2019


efriedma added a comment.

What are you trying to accomplish here?  The standard optimization doesn't ever invoke "-mem2reg", and "-sroa" already handles your testcase.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56810/new/

https://reviews.llvm.org/D56810





More information about the llvm-commits mailing list