Add a FIXME.

llvm-svn: 210559
This commit is contained in:
Eric Christopher 2014-06-10 18:31:18 +00:00
parent bfd92afe01
commit 19b1d73e88
1 changed files with 2 additions and 0 deletions

View File

@ -196,6 +196,8 @@ static TargetLoweringObjectFile *createTLOF(const Triple &TT) {
llvm_unreachable("unknown subtarget type");
}
// FIXME: This should stop caching the target machine as soon as
// we can remove resetOperationActions et al.
X86TargetLowering::X86TargetLowering(X86TargetMachine &TM)
: TargetLowering(TM, createTLOF(Triple(TM.getTargetTriple()))) {
Subtarget = &TM.getSubtarget<X86Subtarget>();