[PATCH] D140509: [DAGCombiner] Pre-promote (zext (abs X)) to (abs (sext X)) when X has an illegal type.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 21 15:20:29 PST 2022
craig.topper added inline comments.
================
Comment at: llvm/test/CodeGen/RISCV/iabs.ll:664
+; RV64I-NEXT: srai a0, a0, 56
+; RV64I-NEXT: srai a2, a0, 63
; RV64I-NEXT: xor a0, a0, a2
----------------
Looks like we might be missing a DAG combine to fold back to back SRA?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140509/new/
https://reviews.llvm.org/D140509
More information about the llvm-commits
mailing list