[all-commits] [llvm/llvm-project] 8ee913: [IR] Remove Constant::canTrap() (NFC)
Nikita Popov via All-commits
all-commits at lists.llvm.org
Wed Jul 6 01:37:27 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8ee913d83b170729300a2381158c77acdb3ac8f8
https://github.com/llvm/llvm-project/commit/8ee913d83b170729300a2381158c77acdb3ac8f8
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-07-06 (Wed, 06 Jul 2022)
Changed paths:
M llvm/include/llvm/IR/Constant.h
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
M llvm/lib/IR/Constants.cpp
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
M llvm/lib/Transforms/IPO/GlobalOpt.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
Log Message:
-----------
[IR] Remove Constant::canTrap() (NFC)
As integer div/rem constant expressions are no longer supported,
constants can no longer trap and are always safe to speculate.
Remove the Constant::canTrap() method and its usages.
More information about the All-commits
mailing list