Skip to content
Commit 8e5d80eb authored by Nadav Rotem's avatar Nadav Rotem
Browse files

AVX/AVX2: Move the code that lowers vector-trunc from a DAGCo-hook to custom lowering hook.

The vector truncs were scalarized during LegalizeVectorOps, later vectorized again by some DAGCombine optimization
and finally, lowered by a dagcombing optimization. Now, they are properly lowered during LegalizeVectorOps.
No new testcase because the original testcases still work.

llvm-svn: 171146
parent 4a0d946a
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