]> granicus.if.org Git - llvm/commit
[X86ISelDAGToDAG] Move initialization of OptForSize and OptForMinSize from Preprocess...
authorCraig Topper <craig.topper@intel.com>
Wed, 27 Mar 2019 21:05:07 +0000 (21:05 +0000)
committerCraig Topper <craig.topper@intel.com>
Wed, 27 Mar 2019 21:05:07 +0000 (21:05 +0000)
commit3f4087193504e772c85ced4364aab38e994afab4
tree8c5d67be697e52775b53220be5e6fe40bbc3ad0e
parent6232f1e06cbca18bf943dcb166d9393df1588f41
[X86ISelDAGToDAG] Move initialization of OptForSize and OptForMinSize from PreprocessISelDAG to runOnMachineFunction. NFCI

This makes more sense as a place to initialize these. I don't think runOnMachineFunction was overriden when these cached values were originally created.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@357123 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelDAGToDAG.cpp