[PATCH] D79528: [ConstantFold] Optimize xor undef, undef to undef

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 7 06:12:06 PDT 2020


xbolva00 added inline comments.


================
Comment at: llvm/test/Transforms/InstCombine/xor-undef.ll:1
-; RUN: opt < %s -instcombine -S | grep zeroinitializer
+; RUN: opt < %s -instcombine -S | grep "ret <2 x i64> undef"
 
----------------
Create proper test file with  CHECKs? (Avoid grep)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79528





More information about the llvm-commits mailing list