[all-commits] [llvm/llvm-project] aff186: [IR] Remove ConstantExpr::getUMin() (NFC)
Nikita Popov via All-commits
all-commits at lists.llvm.org
Mon Mar 6 04:16:44 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: aff18638591b40dbba51e9e9f75973a242bcb276
https://github.com/llvm/llvm-project/commit/aff18638591b40dbba51e9e9f75973a242bcb276
Author: Nikita Popov <npopov at redhat.com>
Date: 2023-03-06 (Mon, 06 Mar 2023)
Changed paths:
M llvm/include/llvm/IR/Constants.h
M llvm/lib/IR/Constants.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
Log Message:
-----------
[IR] Remove ConstantExpr::getUMin() (NFC)
This is part of select constant expression removal. As there is
only a single place where this is used, just expand it to explicit
constant folding calls.
(Normally we'd just use the IRBuilder here, but this isn't possible
due to mergeUndefsWith use).
More information about the All-commits
mailing list