Skip to content
Commit 272bd573 authored by Ricardo Jesus's avatar Ricardo Jesus
Browse files

[AArch64] Fix abs(sub nsw) -> absd

This partially reverts a regression introduced in 8f25e382 for
AArch64 targets. In particular, we restore the logic of `(abs (sub nsw
x, y)) -> abds(x, y)` for all targets except X86, which keeps the logic
introduced in 8f25e382. See also https://reviews.llvm.org/D142288.

Differential Revision: https://reviews.llvm.org/D144379
parent 341dd607
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment