Skip to content
Commit 78d19beb authored by Nadav Rotem's avatar Nadav Rotem
Browse files

TypeLegalizer: Fix a bug in the promotion of elements of integer vectors.

(only happens when using the -promote-elements option).

The correct legalization order is to first try to promote element. Next, we try
to widen vectors.

llvm-svn: 132648
parent 557da866
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