[PATCH] D131140: [NFC][InstCombine] Add baseline tests for canonicalizing "and, add", "or, add", "xor, add"

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 23 06:54:32 PDT 2022


foad added a comment.

Looks fine but please just check the comments.



================
Comment at: llvm/test/Transforms/InstCombine/and-xor-or.ll:4379
+;
+  %a = add <2 x i32> <i32 112, i32 112>, %x ; <0xFF800000, 0x7B800000>
+  %r = or <2 x i32> <i32 15, i32 15>, %a    ; <0x0000800F, 0x0000080F>
----------------
112 is not 0xFF800000


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131140/new/

https://reviews.llvm.org/D131140



More information about the llvm-commits mailing list