diff options
author | Pedro Lobo <pedro.lobo@tecnico.ulisboa.pt> | 2025-07-24 21:45:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-24 21:45:37 +0100 |
commit | d9952a7a5f806a419bcbc8aa82cfda179837e189 (patch) | |
tree | 3054c86e92ffb72104a52e00a075b5fc12cb6c7c /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | a636b7bfdd1d8304b78e8b42ec900a21736d4afb (diff) | |
download | llvm-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