From: Eric Christopher Date: Tue, 10 Jun 2014 18:31:18 +0000 (+0000) Subject: Add a FIXME. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a1c71aa78d1ef04b7db758f99cf3f0b2289c1b3c;p=oota-llvm.git Add a FIXME. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210559 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index 5bf18107500..c21d0ea5bac 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -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();