aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/FileCheck.cpp
diff options
context:
space:
mode:
authorWarren Ristow <warren.ristow@sony.com>2019-05-08 18:50:07 +0000
committerWarren Ristow <warren.ristow@sony.com>2019-05-08 18:50:07 +0000
commitd27b0c624722c113953c4d46379c8c6a72814e8c (patch)
tree5b557d1dc720e2b0841264edf94f8a0ebbed8736 /llvm/lib/Support/FileCheck.cpp
parent1558731607cb2aef361d02be9973d4e374475254 (diff)
downloadllvm-d27b0c624722c113953c4d46379c8c6a72814e8c.zip
llvm-d27b0c624722c113953c4d46379c8c6a72814e8c.tar.gz
llvm-d27b0c624722c113953c4d46379c8c6a72814e8c.tar.bz2
[SCEV] Suppress hoisting insertion point of binops when unsafe
InsertBinop tries to move insertion-points out of loops for expressions that are loop-invariant. This patch adds a new parameter, IsSafeToHost, to guard that hoisting. This allows callers to suppress that hoisting for unsafe situations, such as divisions that may have a zero denominator. This fixes PR38697. Differential Revision: https://reviews.llvm.org/D55232 llvm-svn: 360280
Diffstat (limited to 'llvm/lib/Support/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions