[PATCH] D142343: [X86] Add tests for folding `(and/or (icmp eq/ne A, Pow2), (icmp eq/ne A, -Pow2))`; NFC
Noah Goldstein via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 29 11:19:33 PST 2023
goldstein.w.n added inline comments.
================
Comment at: llvm/test/CodeGen/X86/icmp-pow2-logic-npow2.ll:7
+declare i32 @llvm.abs.i32(i32, i1)
+declare i16 @llvm.abs.i16(i16, i1)
+declare i8 @llvm.abs.i8(i8, i1)
----------------
pengfei wrote:
> Missing test for `i16`.
> Missing test for `i16`.
Added. Also added a vector version.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142343/new/
https://reviews.llvm.org/D142343
More information about the llvm-commits
mailing list