Teach the cost model about the optimization in r169904: Truncation of induction varia...
authorNadav Rotem <nrotem@apple.com>
Thu, 13 Dec 2012 00:21:03 +0000 (00:21 +0000)
committerNadav Rotem <nrotem@apple.com>
Thu, 13 Dec 2012 00:21:03 +0000 (00:21 +0000)
commit36510f7194fe7dee32f3ed72c0bfee77ec3122eb
tree487260dc93e224d08fd6388f6b6298f3ceea608f
parente28ae30a8ee9ceb7f3b02f16a821f26ea97cacdf
Teach the cost model about the optimization in r169904: Truncation of induction variables costs the same as scalar trunc.

llvm-svn: 170051
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/lib/Transforms/Vectorize/LoopVectorize.h
llvm/test/Transforms/LoopVectorize/X86/conversion-cost.ll