[PATCH] D48640: [WIP][SROA] Preserve DebugLoc when rewriting alloca partitions

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 27 11:10:22 PDT 2018


vsk added inline comments.


================
Comment at: test/Transforms/SROA/alignment.ll:2
 ; RUN: opt < %s -sroa -S | FileCheck %s
+; RUN: opt -debugify -instcombine -sroa -S < %s | FileCheck %s -check-prefix DEBUGLOC
+
----------------
It's OK for a change to instcombine to break the test you're adding here, e.g by disabling a combine.

Is there a test you can repurpose which doesn't rely on instcombine to hit the code path you've changed?


Repository:
  rL LLVM

https://reviews.llvm.org/D48640





More information about the llvm-commits mailing list