[PATCH] D84085: [SROA][Mem2Reg] Do not crash on alloca + addrspacecast

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 18 06:36:24 PDT 2020


arsenm added inline comments.


================
Comment at: llvm/test/Transforms/SROA/alloca_addrspace.ll:2-3
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
+; RUN: opt < %s -sroa -S | FileCheck %s
+; RUN: opt < %s -passes=sroa -S | FileCheck %s
+; RUN: opt < %s -mem2reg -S | FileCheck %s
----------------
This is also covered by SROA tests, should this go in test/Mem2Reg


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D84085





More information about the llvm-commits mailing list