[all-commits] [llvm/llvm-project] 0c2b6a: [LVI] Drop bitcast handling (NFCI)
Nikita Popov via All-commits
all-commits at lists.llvm.org
Tue Dec 12 04:10:07 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0c2b6a022595c55ba3d091e3014b5d3b0e213259
https://github.com/llvm/llvm-project/commit/0c2b6a022595c55ba3d091e3014b5d3b0e213259
Author: Nikita Popov <npopov at redhat.com>
Date: 2023-12-12 (Tue, 12 Dec 2023)
Changed paths:
M llvm/lib/Analysis/LazyValueInfo.cpp
Log Message:
-----------
[LVI] Drop bitcast handling (NFCI)
The code only works on integer casts, and the only bitcasts
involving integers are trivial. The code as previously written
would try to handle things like float to integer bitcasts by
fetching a ConstantRange of a float value, which is an ill-defined
operation.
More information about the All-commits
mailing list