[all-commits] [llvm/llvm-project] 82ba95: [Attributor] Handle constant icmp expressions in A...
Johannes Doerfert via All-commits
all-commits at lists.llvm.org
Sun Jan 22 01:15:56 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 82ba958ca2ee939910168fc1f123003c96c0221e
https://github.com/llvm/llvm-project/commit/82ba958ca2ee939910168fc1f123003c96c0221e
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2023-01-22 (Sun, 22 Jan 2023)
Changed paths:
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
M llvm/test/Transforms/Attributor/value-simplify.ll
Log Message:
-----------
[Attributor] Handle constant icmp expressions in AAPotentialValues
A `ConstantExpr` ICmp is pretty much the same thing as an ICmpInst when
we want to simplify it. We just need to be less restrictive wrt. the
type and use the static helper functions directly.
Fixes: https://github.com/llvm/llvm-project/issues/59767
More information about the All-commits
mailing list