Skip to content
Commit b8844d67 authored by Owen Anderson's avatar Owen Anderson
Browse files

Only apply the SETCC+SITOFP -> SELECTCC optimization when the SETCC returns an...

Only apply the SETCC+SITOFP -> SELECTCC optimization when the SETCC returns an MVT::i1, i.e. before type legalization.
This is a speculative fix for a problem on Mips reported by Akira Hatanaka.

llvm-svn: 160036
parent 5f0a1b89
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