Skip to content
Commit a85f5874 authored by Bradley Smith's avatar Bradley Smith
Browse files

[AArch64] Remove SETCC of CSEL when the latter's condition can be inverted



  setcc (csel 0, 1, cond, X), 1, ne ==> csel 0, 1, !cond, X

Where X is a condition code setting instruction.

Co-authored-by: default avatarPaul Walker <paul.walker@arm.com>

Differential Revision: https://reviews.llvm.org/D103256
parent e789efc9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment