[all-commits] [llvm/llvm-project] ee9617: [InstSimplify] try constant folding intrinsics bef...
RotateRight via All-commits
all-commits at lists.llvm.org
Wed Jul 29 10:19:06 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: ee9617e96b05de04b2f189596b86c6149c807764
https://github.com/llvm/llvm-project/commit/ee9617e96b05de04b2f189596b86c6149c807764
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2020-07-29 (Wed, 29 Jul 2020)
Changed paths:
M llvm/lib/Analysis/InstructionSimplify.cpp
Log Message:
-----------
[InstSimplify] try constant folding intrinsics before general simplifications
This matches the behavior of simplify calls for regular opcodes -
rely on ConstantFolding before spending time on folds with variables.
I am not aware of any diffs from this re-ordering currently, but there was
potential for unintended behavior from the min/max intrinsics because that
code is implicitly assuming that only 1 of the input operands is constant.
More information about the All-commits
mailing list