Pass the optimization level when constructing the ARM instruction selector.
authorBob Wilson <bob.wilson@apple.com>
Mon, 28 Sep 2009 14:30:20 +0000 (14:30 +0000)
committerBob Wilson <bob.wilson@apple.com>
Mon, 28 Sep 2009 14:30:20 +0000 (14:30 +0000)
commit522ce975327e1aeba8317b233cdb54366e2645b5
tree858643786c87f2b6432334784f20184f2e04bdd8
parent5adb66a646e2ec32265263739f5b01c3f50c176a
Pass the optimization level when constructing the ARM instruction selector.
Otherwise, it is always set to "default", which prevents debug info from
even being generated during isel.  Radar 7250345.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82988 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARM.h
lib/Target/ARM/ARMISelDAGToDAG.cpp
lib/Target/ARM/ARMTargetMachine.cpp