Commit ed7c97e0 authored by Noah Goldstein's avatar Noah Goldstein
Browse files

Recommit "[DAGCombiner] Transform `(icmp eq/ne (and X,C0),(shift X,C1))` to...

Recommit "[DAGCombiner] Transform `(icmp eq/ne (and X,C0),(shift X,C1))` to use rotate or to getter constants." (2nd Try)

Added missing check that the mask and shift amount added up to correct
bitwidth as well as test cases for the bug.

Closes #71729
parent 160a13a0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment