[PATCH] D81854: [InstCombine] Don't let an alignment assume prevent new/delete removals.

Hiroshi Yamauchi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 29 13:01:47 PDT 2020


yamauchi marked an inline comment as done.
yamauchi added inline comments.


================
Comment at: llvm/test/Transforms/PhaseOrdering/inlining-alignment-assumptions.ll:101
 ; ASSUMPTIONS-ON-LABEL: @caller2(
-; ASSUMPTIONS-ON-NEXT:    [[ALLOCA:%.*]] = alloca i64, align 8, addrspace(5)
-; ASSUMPTIONS-ON-NEXT:    [[CAST:%.*]] = addrspacecast i64 addrspace(5)* [[ALLOCA]] to i64*
----------------
davidxl wrote:
> what is this change about?
This is another example that this patch improves (fixing a problem that an assume was preventing the removal of an alloca).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D81854





More information about the llvm-commits mailing list