Commit 4bf004e0 authored by Simon Pilgrim's avatar Simon Pilgrim
Browse files

[DAG] Fold (bitcast (logicop (bitcast x), (c))) -> (logicop x, (bitcast c))...

[DAG] Fold (bitcast (logicop (bitcast x), (c))) -> (logicop x, (bitcast c)) iff the current logicop type is illegal

Try to remove extra bitcasts around logicops if we're dealing with illegal types

Fixes the regressions in D145939

Differential Revision: https://reviews.llvm.org/D146032
parent f652bfeb
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