[all-commits] [llvm/llvm-project] c1a9ea: [ConstantFold] Don't mention irrelevant opcodes (N...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri Nov 3 04:17:49 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c1a9eabf56db21392587f76b4abaa30a01f3643a
https://github.com/llvm/llvm-project/commit/c1a9eabf56db21392587f76b4abaa30a01f3643a
Author: Nikita Popov <npopov at redhat.com>
Date: 2023-11-03 (Fri, 03 Nov 2023)
Changed paths:
M llvm/lib/IR/ConstantFold.cpp
Log Message:
-----------
[ConstantFold] Don't mention irrelevant opcodes (NFCI)
This is folding an icmp, so fptrunc, fpext, uitofp, sitofp cannot
appear here at all. Also drop the explicit checks for trunc, fptoui,
fptosi, which can appear, but are just some random subset of opcodes
that are not handled by this code.
More information about the All-commits
mailing list