[all-commits] [llvm/llvm-project] 6de41e: [ValueLattice] Fix getCompare() for undef values
Nikita Popov via All-commits
all-commits at lists.llvm.org
Tue Nov 1 08:41:41 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6de41e6d7652b74a5aa2bd78b0597cc53a8c3c2a
https://github.com/llvm/llvm-project/commit/6de41e6d7652b74a5aa2bd78b0597cc53a8c3c2a
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-11-01 (Tue, 01 Nov 2022)
Changed paths:
M llvm/include/llvm/Analysis/ValueLattice.h
M llvm/lib/Transforms/Utils/SCCPSolver.cpp
Log Message:
-----------
[ValueLattice] Fix getCompare() for undef values
Resolve the TODO about incorrect getCompare() behavior. This can
be made more precise (e.g. by materializing the undef value and
performing constant folding on it), but for now just return an
unknown result.
More information about the All-commits
mailing list