[optnone] Skip pass Float2Int on optnone functions.
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Wed, 25 Mar 2015 12:22:37 +0000 (12:22 +0000)
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Wed, 25 Mar 2015 12:22:37 +0000 (12:22 +0000)
commit962dcdfddaa7a87f8e40c6b43e4649fc47e27673
treec97e2c15924019e70b8beb1cd8886b54736d3ed4
parent47fd5639bc5a65daf1b73505e6556f0f2a8bf777
[optnone] Skip pass Float2Int on optnone functions.

Added test Float2Int/float2int-optnone.ll to verify that pass Float2Int
is not run on optnone functions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233183 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/Float2Int.cpp
test/Transforms/Float2Int/float2int-optnone.ll [new file with mode: 0644]