[all-commits] [llvm/llvm-project] 0c9c58: [SCCP] Use constant ranges for casts.
Florian Hahn via All-commits
all-commits at lists.llvm.org
Tue Mar 31 01:26:10 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 0c9c58ada0afa3e536834a71ac43fa80ae1f0af7
https://github.com/llvm/llvm-project/commit/0c9c58ada0afa3e536834a71ac43fa80ae1f0af7
Author: Florian Hahn <flo at fhahn.com>
Date: 2020-03-31 (Tue, 31 Mar 2020)
Changed paths:
M llvm/lib/Transforms/Scalar/SCCP.cpp
A llvm/test/Transforms/SCCP/ip-ranges-casts.ll
Log Message:
-----------
[SCCP] Use constant ranges for casts.
For casts with constant range operands, we can use
ConstantRange::castOp.
Reviewers: davide, efriedma, mssimpso
Reviewed By: efriedma
Differential Revision: https://reviews.llvm.org/D71938
More information about the All-commits
mailing list