LoopVectorizer: Preserve fast-math flags
authorArnold Schwaighofer <aschwaighofer@apple.com>
Wed, 5 Mar 2014 21:10:47 +0000 (21:10 +0000)
committerArnold Schwaighofer <aschwaighofer@apple.com>
Wed, 5 Mar 2014 21:10:47 +0000 (21:10 +0000)
commit9d84b4d70cbd86c462d70a23836ec42323bba591
treede8338ed7a172485794ffac1c042027f4fbc53c1
parentfc5436c95132cbbf3c2fc950d3c5906cc8ed62dd
LoopVectorizer: Preserve fast-math flags

Fixes PR19045.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203008 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/LoopVectorize.cpp
test/Transforms/LoopVectorize/flags.ll
test/Transforms/LoopVectorize/float-reduction.ll