Reset the target options and optimization level as the first
authorEric Christopher <echristo@gmail.com>
Wed, 8 Oct 2014 01:58:01 +0000 (01:58 +0000)
committerEric Christopher <echristo@gmail.com>
Wed, 8 Oct 2014 01:58:01 +0000 (01:58 +0000)
commitede41a93d3895937ce894296f8a606579db21340
tree0a4d856045cd58fc6d0baf48969bd8b55fc10645
parent48b1918a1b5428ca4bafe923884829aa9aaccf7e
Reset the target options and optimization level as the first
thing we do inside selection dag. This code needs to be
migrated to queries on the function rather than global
data, but this organizes things before we start grabbing
the subtarget.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219271 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp