Files
clang-p2996/llvm/test/Transforms/InstCombine
Stanislav Mekhanoshin b92412fb28 [InstCombine] Fold (a & ~b) & ~c to a & ~(b | c)
%not1 = xor i32 %b, -1
  %not2 = xor i32 %c, -1
  %and1 = and i32 %a, %not1
  %and2 = and i32 %and1, %not2
=>
  %i1 = or i32 %b, %c
  %i2 = xor i32 %1, -1
  %and2 = and i32 %i2, %a

Differential Revision: https://reviews.llvm.org/D112108
2021-10-20 13:05:46 -07:00
..
2021-08-13 12:02:32 +08:00
2021-08-16 09:28:06 -07:00

This directory contains test cases for the instcombine transformation.  The
dated tests are actual bug tests, whereas the named tests are used to test
for features that the this pass should be capable of performing.