[PATCH] D46193: [LSR] Skip LSR if the cost of input is cheaper than LSR's solution

Krzysztof Parzyszek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 3 13:35:23 PDT 2018


kparzysz added a comment.

I have wanted something like this!  Thanks for doing it.



================
Comment at: test/Transforms/LoopStrengthReduce/AArch64/skip-lsr-solution.ll:1
+; RUN: llc <  %s  -mtriple=aarch64 -lsr-insns-cost=true -debug-only=loop-reduce  2>&1 | FileCheck %s
+
----------------
This needs "REQUIRES: asserts".


https://reviews.llvm.org/D46193





More information about the llvm-commits mailing list