Commit 7428739e authored by Simon Pilgrim's avatar Simon Pilgrim
Browse files

[X86] matchAddressRecursively - peek through ZEXT nodes to match foldMaskAndShiftToExtract

Handle (zero_extend (and (srl X, C1), C2)) patterns to allow foldMaskAndShiftToExtract to match h-register extractions from smaller types

Ideally matchAddressRecursively needs to be able to recurse through ZEXT/SEXT nodes generally but for now we should just handle specific cases when they occur

Addresses regressions in D146121
parent 848f6abf
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