[all-commits] [llvm/llvm-project] 15a423: [ValueTracking] soften assert for invertible recur...
RotateRight via All-commits
all-commits at lists.llvm.org
Mon May 3 12:59:38 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 15a42339fe5f5daa86651e181df9a4f89d3ededf
https://github.com/llvm/llvm-project/commit/15a42339fe5f5daa86651e181df9a4f89d3ededf
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2021-05-03 (Mon, 03 May 2021)
Changed paths:
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/test/Transforms/InstSimplify/icmp.ll
Log Message:
-----------
[ValueTracking] soften assert for invertible recurrence matching
There's a TODO comment in the code and discussion in D99912
about generalizing this, but I wasn't sure how to implement that,
so just going with a potential minimal fix to avoid crashing.
The test is a reduction beyond useful code (there's no user of
%user...), but it is based on https://llvm.org/PR50191, so this
is asserting on real code.
Differential Revision: https://reviews.llvm.org/D101772
More information about the All-commits
mailing list