]> granicus.if.org Git - llvm/commit
[InstCombine][NFCI] Fix test comments.
authorHuihui Zhang <huihuiz@quicinc.com>
Thu, 27 Jun 2019 05:46:06 +0000 (05:46 +0000)
committerHuihui Zhang <huihuiz@quicinc.com>
Thu, 27 Jun 2019 05:46:06 +0000 (05:46 +0000)
commit987d44f3269728589090508be68936694567331e
tree0fbf0253bd02c09d967d56540e48170da46e1d07
parent7aed8d8472e4e22caff28578ecf1c3033b633eed
[InstCombine][NFCI] Fix test comments.

For fold
(X & (signbit l>> Y)) ==/!= 0 -> (X << Y) >=/< 0
(X & (signbit << Y)) ==/!= 0 -> (X l>> Y) >=/< 0

Test cases of X being constant are positive tests not negative.

Prep work for D62818.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364497 91177308-0d34-0410-b5e6-96231b3b80d8
test/Transforms/InstCombine/signbit-lshr-and-icmpeq-zero.ll
test/Transforms/InstCombine/signbit-shl-and-icmpeq-zero.ll