Skip to content
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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment