[PATCH] D142343: [X86] Add tests for folding `(and/or (icmp eq/ne A, Pow2), (icmp eq/ne A, -Pow2))`; NFC

Phoebe Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 28 23:05:09 PST 2023


pengfei 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)
----------------
Missing test for `i16`.


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