aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorPedro Lobo <pedro.lobo@tecnico.ulisboa.pt>2025-07-24 21:45:37 +0100
committerGitHub <noreply@github.com>2025-07-24 21:45:37 +0100
commitd9952a7a5f806a419bcbc8aa82cfda179837e189 (patch)
tree3054c86e92ffb72104a52e00a075b5fc12cb6c7c /flang/lib/Frontend/CompilerInvocation.cpp
parenta636b7bfdd1d8304b78e8b42ec900a21736d4afb (diff)
downloadllvm-d9952a7a5f806a419bcbc8aa82cfda179837e189.zip
llvm-d9952a7a5f806a419bcbc8aa82cfda179837e189.tar.gz
llvm-d9952a7a5f806a419bcbc8aa82cfda179837e189.tar.bz2
[InstCombine] Propagate neg `nsw` when folding `abs(-x)` to `abs(x)` (#150460)
We can propagate the nsw in the neg to abs, as `-x` is only poison if x == INT_MIN.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions