Skip to content
Commit 0423681d authored by Craig Topper's avatar Craig Topper
Browse files

[ScalarizeMaskedMemIntrin] Don't emit 'icmp eq i1 %x, 1' to check mask values....

[ScalarizeMaskedMemIntrin] Don't emit 'icmp eq i1 %x, 1' to check mask values. That's just %x so use that directly.

Had we emitted this IR earlier, InstCombine would have removed icmp so I'm going to assume using the i1 directly would be considered canonical.

llvm-svn: 343244
parent 141f208e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment