[PATCH] D49049: [LSR] If no Use is interesting, early return.

Tim Shen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 13 15:50:47 PDT 2018


timshen added inline comments.


================
Comment at: llvm/test/CodeGen/X86/lsr-crash-empty-uses.ll:1
+; RUN: llc --start-before loop-reduce --stop-after loop-reduce %s -o - | FileCheck %s
+target triple = "x86_64-unknown-linux-gnu"
----------------
sanjoy wrote:
> Can't you run LSR directly using `opt`?
It's weird. When I switch to opt it doesn't crash.


https://reviews.llvm.org/D49049





More information about the llvm-commits mailing list