[NFC][Codegen] D62818 - also add tests with X being constant
authorRoman Lebedev <lebedev.ri@gmail.com>
Tue, 4 Jun 2019 11:44:50 +0000 (11:44 +0000)
committerRoman Lebedev <lebedev.ri@gmail.com>
Tue, 4 Jun 2019 11:44:50 +0000 (11:44 +0000)
commit2e49e8196dab68481857ec243f091fbb4ad7af43
tree6d495f08ad01c7836b10cba9ec2b6c2fe806fe77
parent49d7221f7195d1254366e9eb88a2d610a2277e23
[NFC][Codegen] D62818 - also add tests with X being constant

For X86, these may be a 'BT' pattern, and in general, can cause
the transform to deadlock.

llvm-svn: 362494
llvm/test/CodeGen/AArch64/hoist-and-by-const-from-lshr-in-eqcmp-zero.ll
llvm/test/CodeGen/AArch64/hoist-and-by-const-from-shl-in-eqcmp-zero.ll
llvm/test/CodeGen/ARM/hoist-and-by-const-from-lshr-in-eqcmp-zero.ll
llvm/test/CodeGen/ARM/hoist-and-by-const-from-shl-in-eqcmp-zero.ll
llvm/test/CodeGen/X86/hoist-and-by-const-from-lshr-in-eqcmp-zero.ll
llvm/test/CodeGen/X86/hoist-and-by-const-from-shl-in-eqcmp-zero.ll