Skip to content
Commit 33360d8a authored by Nadav Rotem's avatar Nadav Rotem
Browse files

After reducing the size of an operation in the DAG we zero-extend the reduced

bitwidth op back to the original size. If we reduce ANDs then this can cause
an endless loop. This patch changes the ZEXT to ANY_EXTEND if the demanded bits
are equal or smaller than the size of the reduced operation.

llvm-svn: 170505
parent af14a3f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment