Skip to content

Combine and-mask+icmp eq -> icmp ule when mask was all-ones in low bits #37471

Closed
@LebedevRI

Description

@LebedevRI
Bugzilla Link 38123
Resolution FIXED
Resolved on Aug 31, 2018 06:28
Version trunk
OS Linux
CC @topperc,@RKSimon,@rotateright

Extended Description

https://rise4fun.com/Alive/W2u
https://godbolt.org/g/sCX9A6

This pattern will be produced by Implicit Integer Trucation sanitizer,
(https://reviews.llvm.org/D48958)
in unsigned case, therefore it is probably a good idea to improve it.

Metadata

Metadata

Assignees

Labels

bugzillaIssues migrated from bugzilla

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions