Revert r195317 (and r195333), "Teach ISel not to optimize 'optnone' functions."
authorNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 21 Nov 2013 10:55:15 +0000 (10:55 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 21 Nov 2013 10:55:15 +0000 (10:55 +0000)
commitb05bddb4bae4e693225df4c517d9b368d923f1b3
tree795cbd9449035828c4a27d0b4dd6c261da4f3b9d
parentedd2b4913433d92fa6b6b89c31a2837d1bba32a5
Revert r195317 (and r195333), "Teach ISel not to optimize 'optnone' functions."

It broke, at least, i686 target. It is reproducible with "llc -mtriple=i686-unknown".

FYI, it didn't appear to add either "-O0" or "-fast-isel".

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195339 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCCodeGenInfo.h
include/llvm/Target/TargetMachine.h
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
lib/Target/TargetMachine.cpp
test/CodeGen/Generic/isel-optnone.ll [deleted file]