Remove the use of getSubtarget in the creation of the X86
authorEric Christopher <echristo@gmail.com>
Thu, 5 Feb 2015 19:27:04 +0000 (19:27 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 5 Feb 2015 19:27:04 +0000 (19:27 +0000)
commita4ed04095cb61b6819bcaea3fb8d6e16ec6e49fe
tree3945ca621309f0d033d4781c2f5c42531740fa2e
parent3e68370c228a537fa15396aed5fc7605a9c9170a
Remove the use of getSubtarget in the creation of the X86
PassManager instance. In one case we can make the determination
from the Triple, in the other (execution dependency pass) the
pass will avoid running if we don't have any code that uses that
register class so go ahead and add it to the pipeline.

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