Remove the query for TargetMachine and TargetInstrInfo since we're
already inside TargetInstrInfo.