diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2023-01-22 01:13:24 -0800 |
---|---|---|
committer | Johannes Doerfert <johannes@jdoerfert.de> | 2023-01-22 01:15:38 -0800 |
commit | 82ba958ca2ee939910168fc1f123003c96c0221e (patch) | |
tree | 21fb5b27decc706e7c89598e5389464843e80ef6 /clang/lib/Sema/SemaModule.cpp | |
parent | 8e7c1b9a3d5f08046261ca0b7e5d319a4c4c9b25 (diff) | |
download | llvm-82ba958ca2ee939910168fc1f123003c96c0221e.zip llvm-82ba958ca2ee939910168fc1f123003c96c0221e.tar.gz llvm-82ba958ca2ee939910168fc1f123003c96c0221e.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/Sema/SemaModule.cpp')
0 files changed, 0 insertions, 0 deletions