[PATCH] MachineFunction is exposed to X86AsmParser.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Apr 21 12:05:24 PDT 2014


> ================
> Comment at: include/llvm/MC/MCTargetAsmParser.h:102
> @@ +101,3 @@
> +  /// Current MCTargetOptions.
> +  const MCTargetOptions *MCOptions;
> +
> ----------------
> Can this go on the asm streamer?

Ignore this bit. We don't want to instrument assembly that CodeGen is
printing, so the asm parser is probably the correct place to put this.

I need some more coffee.

Cheers,
Rafael



More information about the llvm-commits mailing list