[llvm] r232688 - two or more, use a for.
David Blaikie
dblaikie at gmail.com
Wed Mar 18 16:43:04 PDT 2015
On Wed, Mar 18, 2015 at 4:15 PM, Rafael Espindola <
rafael.espindola at gmail.com> wrote:
> Author: rafael
> Date: Wed Mar 18 18:15:49 2015
> New Revision: 232688
>
> URL: http://llvm.org/viewvc/llvm-project?rev=232688&view=rev
> Log:
> two or more, use a for.
>
Cute (both the comment, and the code) :)
>
> Modified:
> llvm/trunk/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp
> llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
> llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp
> llvm/trunk/lib/Target/NVPTX/MCTargetDesc/NVPTXMCTargetDesc.cpp
> llvm/trunk/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
> llvm/trunk/lib/Target/R600/MCTargetDesc/AMDGPUMCTargetDesc.cpp
> llvm/trunk/lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.cpp
> llvm/trunk/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
>
> Modified:
> llvm/trunk/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp?rev=232688&r1=232687&r2=232688&view=diff
>
> ==============================================================================
> --- llvm/trunk/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp
> (original)
> +++ llvm/trunk/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp Wed
> Mar 18 18:15:49 2015
> @@ -136,79 +136,39 @@ static MCStreamer *createMCStreamer(cons
>
> // Force static initialization.
> extern "C" void LLVMInitializeAArch64TargetMC() {
> - // Register the MC asm info.
> - RegisterMCAsmInfoFn X(TheAArch64leTarget, createAArch64MCAsmInfo);
> - RegisterMCAsmInfoFn Y(TheAArch64beTarget, createAArch64MCAsmInfo);
> - RegisterMCAsmInfoFn Z(TheARM64Target, createAArch64MCAsmInfo);
> -
> - // Register the MC codegen info.
> - TargetRegistry::RegisterMCCodeGenInfo(TheAArch64leTarget,
> - createAArch64MCCodeGenInfo);
> - TargetRegistry::RegisterMCCodeGenInfo(TheAArch64beTarget,
> - createAArch64MCCodeGenInfo);
> - TargetRegistry::RegisterMCCodeGenInfo(TheARM64Target,
> - createAArch64MCCodeGenInfo);
> -
> - // Register the MC instruction info.
> - TargetRegistry::RegisterMCInstrInfo(TheAArch64leTarget,
> - createAArch64MCInstrInfo);
> - TargetRegistry::RegisterMCInstrInfo(TheAArch64beTarget,
> - createAArch64MCInstrInfo);
> - TargetRegistry::RegisterMCInstrInfo(TheARM64Target,
> - createAArch64MCInstrInfo);
> -
> - // Register the MC register info.
> - TargetRegistry::RegisterMCRegInfo(TheAArch64leTarget,
> - createAArch64MCRegisterInfo);
> - TargetRegistry::RegisterMCRegInfo(TheAArch64beTarget,
> - createAArch64MCRegisterInfo);
> - TargetRegistry::RegisterMCRegInfo(TheARM64Target,
> - createAArch64MCRegisterInfo);
> -
> - // Register the MC subtarget info.
> - TargetRegistry::RegisterMCSubtargetInfo(TheAArch64leTarget,
> - createAArch64MCSubtargetInfo);
> - TargetRegistry::RegisterMCSubtargetInfo(TheAArch64beTarget,
> - createAArch64MCSubtargetInfo);
> - TargetRegistry::RegisterMCSubtargetInfo(TheARM64Target,
> - createAArch64MCSubtargetInfo);
> + for (Target *T :
> + {&TheAArch64leTarget, &TheAArch64beTarget, &TheARM64Target}) {
> + // Register the MC asm info.
> + RegisterMCAsmInfoFn X(*T, createAArch64MCAsmInfo);
> +
> + // Register the MC codegen info.
> + TargetRegistry::RegisterMCCodeGenInfo(*T, createAArch64MCCodeGenInfo);
> +
> + // Register the MC instruction info.
> + TargetRegistry::RegisterMCInstrInfo(*T, createAArch64MCInstrInfo);
> +
> + // Register the MC register info.
> + TargetRegistry::RegisterMCRegInfo(*T, createAArch64MCRegisterInfo);
> +
> + // Register the MC subtarget info.
> + TargetRegistry::RegisterMCSubtargetInfo(*T,
> createAArch64MCSubtargetInfo);
> +
> + // Register the MC Code Emitter
> + TargetRegistry::RegisterMCCodeEmitter(*T, createAArch64MCCodeEmitter);
> +
> + // Register the object streamer.
> + TargetRegistry::RegisterMCObjectStreamer(*T, createMCStreamer);
> +
> + // Register the asm streamer.
> + TargetRegistry::RegisterAsmTargetStreamer(*T,
> +
> createAArch64AsmTargetStreamer);
> + // Register the MCInstPrinter.
> + TargetRegistry::RegisterMCInstPrinter(*T, createAArch64MCInstPrinter);
> + }
>
> // Register the asm backend.
> - TargetRegistry::RegisterMCAsmBackend(TheAArch64leTarget,
> - createAArch64leAsmBackend);
> + for (Target *T : {&TheAArch64leTarget, &TheARM64Target})
> + TargetRegistry::RegisterMCAsmBackend(*T, createAArch64leAsmBackend);
> TargetRegistry::RegisterMCAsmBackend(TheAArch64beTarget,
> createAArch64beAsmBackend);
> - TargetRegistry::RegisterMCAsmBackend(TheARM64Target,
> - createAArch64leAsmBackend);
> -
> - // Register the MC Code Emitter
> - TargetRegistry::RegisterMCCodeEmitter(TheAArch64leTarget,
> - createAArch64MCCodeEmitter);
> - TargetRegistry::RegisterMCCodeEmitter(TheAArch64beTarget,
> - createAArch64MCCodeEmitter);
> - TargetRegistry::RegisterMCCodeEmitter(TheARM64Target,
> - createAArch64MCCodeEmitter);
> -
> - // Register the object streamer.
> - TargetRegistry::RegisterMCObjectStreamer(TheAArch64leTarget,
> - createMCStreamer);
> - TargetRegistry::RegisterMCObjectStreamer(TheAArch64beTarget,
> - createMCStreamer);
> - TargetRegistry::RegisterMCObjectStreamer(TheARM64Target,
> createMCStreamer);
> -
> - // Register the asm streamer.
> - TargetRegistry::RegisterAsmTargetStreamer(TheAArch64leTarget,
> -
> createAArch64AsmTargetStreamer);
> - TargetRegistry::RegisterAsmTargetStreamer(TheAArch64beTarget,
> -
> createAArch64AsmTargetStreamer);
> - TargetRegistry::RegisterAsmTargetStreamer(TheARM64Target,
> -
> createAArch64AsmTargetStreamer);
> -
> - // Register the MCInstPrinter.
> - TargetRegistry::RegisterMCInstPrinter(TheAArch64leTarget,
> - createAArch64MCInstPrinter);
> - TargetRegistry::RegisterMCInstPrinter(TheAArch64beTarget,
> - createAArch64MCInstPrinter);
> - TargetRegistry::RegisterMCInstPrinter(TheARM64Target,
> - createAArch64MCInstPrinter);
> }
>
> Modified: llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp?rev=232688&r1=232687&r2=232688&view=diff
>
> ==============================================================================
> --- llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp (original)
> +++ llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp Wed Mar 18
> 18:15:49 2015
> @@ -380,61 +380,48 @@ static MCInstrAnalysis *createARMMCInstr
>
> // Force static initialization.
> extern "C" void LLVMInitializeARMTargetMC() {
> - // Register the MC asm info.
> - RegisterMCAsmInfoFn X(TheARMLETarget, createARMMCAsmInfo);
> - RegisterMCAsmInfoFn Y(TheARMBETarget, createARMMCAsmInfo);
> - RegisterMCAsmInfoFn A(TheThumbLETarget, createARMMCAsmInfo);
> - RegisterMCAsmInfoFn B(TheThumbBETarget, createARMMCAsmInfo);
> -
> - // Register the MC codegen info.
> - TargetRegistry::RegisterMCCodeGenInfo(TheARMLETarget,
> createARMMCCodeGenInfo);
> - TargetRegistry::RegisterMCCodeGenInfo(TheARMBETarget,
> createARMMCCodeGenInfo);
> - TargetRegistry::RegisterMCCodeGenInfo(TheThumbLETarget,
> - createARMMCCodeGenInfo);
> - TargetRegistry::RegisterMCCodeGenInfo(TheThumbBETarget,
> - createARMMCCodeGenInfo);
> -
> - // Register the MC instruction info.
> - TargetRegistry::RegisterMCInstrInfo(TheARMLETarget,
> createARMMCInstrInfo);
> - TargetRegistry::RegisterMCInstrInfo(TheARMBETarget,
> createARMMCInstrInfo);
> - TargetRegistry::RegisterMCInstrInfo(TheThumbLETarget,
> createARMMCInstrInfo);
> - TargetRegistry::RegisterMCInstrInfo(TheThumbBETarget,
> createARMMCInstrInfo);
> -
> - // Register the MC register info.
> - TargetRegistry::RegisterMCRegInfo(TheARMLETarget,
> createARMMCRegisterInfo);
> - TargetRegistry::RegisterMCRegInfo(TheARMBETarget,
> createARMMCRegisterInfo);
> - TargetRegistry::RegisterMCRegInfo(TheThumbLETarget,
> createARMMCRegisterInfo);
> - TargetRegistry::RegisterMCRegInfo(TheThumbBETarget,
> createARMMCRegisterInfo);
> -
> - // Register the MC subtarget info.
> - TargetRegistry::RegisterMCSubtargetInfo(TheARMLETarget,
> -
> ARM_MC::createARMMCSubtargetInfo);
> - TargetRegistry::RegisterMCSubtargetInfo(TheARMBETarget,
> -
> ARM_MC::createARMMCSubtargetInfo);
> - TargetRegistry::RegisterMCSubtargetInfo(TheThumbLETarget,
> -
> ARM_MC::createARMMCSubtargetInfo);
> - TargetRegistry::RegisterMCSubtargetInfo(TheThumbBETarget,
> -
> ARM_MC::createARMMCSubtargetInfo);
> -
> - // Register the MC instruction analyzer.
> - TargetRegistry::RegisterMCInstrAnalysis(TheARMLETarget,
> - createARMMCInstrAnalysis);
> - TargetRegistry::RegisterMCInstrAnalysis(TheARMBETarget,
> - createARMMCInstrAnalysis);
> - TargetRegistry::RegisterMCInstrAnalysis(TheThumbLETarget,
> - createARMMCInstrAnalysis);
> - TargetRegistry::RegisterMCInstrAnalysis(TheThumbBETarget,
> - createARMMCInstrAnalysis);
> + for (Target *T : {&TheARMLETarget, &TheARMBETarget, &TheThumbLETarget,
> + &TheThumbBETarget}) {
> + // Register the MC asm info.
> + RegisterMCAsmInfoFn X(*T, createARMMCAsmInfo);
> +
> + // Register the MC codegen info.
> + TargetRegistry::RegisterMCCodeGenInfo(*T, createARMMCCodeGenInfo);
> +
> + // Register the MC instruction info.
> + TargetRegistry::RegisterMCInstrInfo(*T, createARMMCInstrInfo);
> +
> + // Register the MC register info.
> + TargetRegistry::RegisterMCRegInfo(*T, createARMMCRegisterInfo);
> +
> + // Register the MC subtarget info.
> + TargetRegistry::RegisterMCSubtargetInfo(*T,
> +
> ARM_MC::createARMMCSubtargetInfo);
> +
> + // Register the MC instruction analyzer.
> + TargetRegistry::RegisterMCInstrAnalysis(*T, createARMMCInstrAnalysis);
> +
> + // Register the object streamer.
> + TargetRegistry::RegisterMCObjectStreamer(*T, createMCStreamer);
> +
> + // Register the asm streamer.
> + TargetRegistry::RegisterAsmTargetStreamer(*T,
> createARMTargetAsmStreamer);
> +
> + // Register the null TargetStreamer.
> + TargetRegistry::RegisterNullTargetStreamer(*T,
> createARMNullTargetStreamer);
> +
> + // Register the MCInstPrinter.
> + TargetRegistry::RegisterMCInstPrinter(*T, createARMMCInstPrinter);
> +
> + // Register the MC relocation info.
> + TargetRegistry::RegisterMCRelocationInfo(*T,
> createARMMCRelocationInfo);
> + }
>
> // Register the MC Code Emitter
> - TargetRegistry::RegisterMCCodeEmitter(TheARMLETarget,
> - createARMLEMCCodeEmitter);
> - TargetRegistry::RegisterMCCodeEmitter(TheARMBETarget,
> - createARMBEMCCodeEmitter);
> - TargetRegistry::RegisterMCCodeEmitter(TheThumbLETarget,
> - createARMLEMCCodeEmitter);
> - TargetRegistry::RegisterMCCodeEmitter(TheThumbBETarget,
> - createARMBEMCCodeEmitter);
> + for (Target *T : {&TheARMLETarget, &TheThumbLETarget})
> + TargetRegistry::RegisterMCCodeEmitter(*T, createARMLEMCCodeEmitter);
> + for (Target *T : {&TheARMBETarget, &TheThumbBETarget})
> + TargetRegistry::RegisterMCCodeEmitter(*T, createARMBEMCCodeEmitter);
>
> // Register the asm backend.
> TargetRegistry::RegisterMCAsmBackend(TheARMLETarget,
> createARMLEAsmBackend);
> @@ -443,48 +430,4 @@ extern "C" void LLVMInitializeARMTargetM
> createThumbLEAsmBackend);
> TargetRegistry::RegisterMCAsmBackend(TheThumbBETarget,
> createThumbBEAsmBackend);
> -
> - // Register the object streamer.
> - TargetRegistry::RegisterMCObjectStreamer(TheARMLETarget,
> createMCStreamer);
> - TargetRegistry::RegisterMCObjectStreamer(TheARMBETarget,
> createMCStreamer);
> - TargetRegistry::RegisterMCObjectStreamer(TheThumbLETarget,
> createMCStreamer);
> - TargetRegistry::RegisterMCObjectStreamer(TheThumbBETarget,
> createMCStreamer);
> -
> - // Register the asm streamer.
> - TargetRegistry::RegisterAsmTargetStreamer(TheARMLETarget,
> - createARMTargetAsmStreamer);
> - TargetRegistry::RegisterAsmTargetStreamer(TheARMBETarget,
> - createARMTargetAsmStreamer);
> - TargetRegistry::RegisterAsmTargetStreamer(TheThumbLETarget,
> - createARMTargetAsmStreamer);
> - TargetRegistry::RegisterAsmTargetStreamer(TheThumbBETarget,
> - createARMTargetAsmStreamer);
> -
> - // Register the null TargetStreamer.
> - TargetRegistry::RegisterNullTargetStreamer(TheARMLETarget,
> - createARMNullTargetStreamer);
> - TargetRegistry::RegisterNullTargetStreamer(TheARMBETarget,
> - createARMNullTargetStreamer);
> - TargetRegistry::RegisterNullTargetStreamer(TheThumbLETarget,
> - createARMNullTargetStreamer);
> - TargetRegistry::RegisterNullTargetStreamer(TheThumbBETarget,
> - createARMNullTargetStreamer);
> -
> - // Register the MCInstPrinter.
> - TargetRegistry::RegisterMCInstPrinter(TheARMLETarget,
> createARMMCInstPrinter);
> - TargetRegistry::RegisterMCInstPrinter(TheARMBETarget,
> createARMMCInstPrinter);
> - TargetRegistry::RegisterMCInstPrinter(TheThumbLETarget,
> - createARMMCInstPrinter);
> - TargetRegistry::RegisterMCInstPrinter(TheThumbBETarget,
> - createARMMCInstPrinter);
> -
> - // Register the MC relocation info.
> - TargetRegistry::RegisterMCRelocationInfo(TheARMLETarget,
> - createARMMCRelocationInfo);
> - TargetRegistry::RegisterMCRelocationInfo(TheARMBETarget,
> - createARMMCRelocationInfo);
> - TargetRegistry::RegisterMCRelocationInfo(TheThumbLETarget,
> - createARMMCRelocationInfo);
> - TargetRegistry::RegisterMCRelocationInfo(TheThumbBETarget,
> - createARMMCRelocationInfo);
> }
>
> Modified: llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp?rev=232688&r1=232687&r2=232688&view=diff
>
> ==============================================================================
> --- llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp (original)
> +++ llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp Wed Mar
> 18 18:15:49 2015
> @@ -131,71 +131,42 @@ static MCTargetStreamer *createMipsNullT
> }
>
> extern "C" void LLVMInitializeMipsTargetMC() {
> - // Register the MC asm info.
> - RegisterMCAsmInfoFn X(TheMipsTarget, createMipsMCAsmInfo);
> - RegisterMCAsmInfoFn Y(TheMipselTarget, createMipsMCAsmInfo);
> - RegisterMCAsmInfoFn A(TheMips64Target, createMipsMCAsmInfo);
> - RegisterMCAsmInfoFn B(TheMips64elTarget, createMipsMCAsmInfo);
> -
> - // Register the MC codegen info.
> - TargetRegistry::RegisterMCCodeGenInfo(TheMipsTarget,
> - createMipsMCCodeGenInfo);
> - TargetRegistry::RegisterMCCodeGenInfo(TheMipselTarget,
> - createMipsMCCodeGenInfo);
> - TargetRegistry::RegisterMCCodeGenInfo(TheMips64Target,
> - createMipsMCCodeGenInfo);
> - TargetRegistry::RegisterMCCodeGenInfo(TheMips64elTarget,
> - createMipsMCCodeGenInfo);
> -
> - // Register the MC instruction info.
> - TargetRegistry::RegisterMCInstrInfo(TheMipsTarget,
> createMipsMCInstrInfo);
> - TargetRegistry::RegisterMCInstrInfo(TheMipselTarget,
> createMipsMCInstrInfo);
> - TargetRegistry::RegisterMCInstrInfo(TheMips64Target,
> createMipsMCInstrInfo);
> - TargetRegistry::RegisterMCInstrInfo(TheMips64elTarget,
> - createMipsMCInstrInfo);
> -
> - // Register the MC register info.
> - TargetRegistry::RegisterMCRegInfo(TheMipsTarget,
> createMipsMCRegisterInfo);
> - TargetRegistry::RegisterMCRegInfo(TheMipselTarget,
> createMipsMCRegisterInfo);
> - TargetRegistry::RegisterMCRegInfo(TheMips64Target,
> createMipsMCRegisterInfo);
> - TargetRegistry::RegisterMCRegInfo(TheMips64elTarget,
> - createMipsMCRegisterInfo);
> + for (Target *T : {&TheMipsTarget, &TheMipselTarget, &TheMips64Target,
> + &TheMips64elTarget}) {
> + // Register the MC asm info.
> + RegisterMCAsmInfoFn X(*T, createMipsMCAsmInfo);
> +
> + // Register the MC codegen info.
> + TargetRegistry::RegisterMCCodeGenInfo(*T, createMipsMCCodeGenInfo);
> +
> + // Register the MC instruction info.
> + TargetRegistry::RegisterMCInstrInfo(*T, createMipsMCInstrInfo);
> +
> + // Register the MC register info.
> + TargetRegistry::RegisterMCRegInfo(*T, createMipsMCRegisterInfo);
> +
> + // Register the object streamer.
> + TargetRegistry::RegisterMCObjectStreamer(*T, createMCStreamer);
> +
> + // Register the asm target streamer.
> + TargetRegistry::RegisterAsmTargetStreamer(*T,
> createMipsAsmTargetStreamer);
> +
> + TargetRegistry::RegisterNullTargetStreamer(*T,
> +
> createMipsNullTargetStreamer);
> +
> + // Register the MC subtarget info.
> + TargetRegistry::RegisterMCSubtargetInfo(*T,
> createMipsMCSubtargetInfo);
> +
> + // Register the MCInstPrinter.
> + TargetRegistry::RegisterMCInstPrinter(*T, createMipsMCInstPrinter);
> + }
>
> // Register the MC Code Emitter
> - TargetRegistry::RegisterMCCodeEmitter(TheMipsTarget,
> - createMipsMCCodeEmitterEB);
> - TargetRegistry::RegisterMCCodeEmitter(TheMipselTarget,
> - createMipsMCCodeEmitterEL);
> - TargetRegistry::RegisterMCCodeEmitter(TheMips64Target,
> - createMipsMCCodeEmitterEB);
> - TargetRegistry::RegisterMCCodeEmitter(TheMips64elTarget,
> - createMipsMCCodeEmitterEL);
> -
> - // Register the object streamer.
> - TargetRegistry::RegisterMCObjectStreamer(TheMipsTarget,
> createMCStreamer);
> - TargetRegistry::RegisterMCObjectStreamer(TheMipselTarget,
> createMCStreamer);
> - TargetRegistry::RegisterMCObjectStreamer(TheMips64Target,
> createMCStreamer);
> - TargetRegistry::RegisterMCObjectStreamer(TheMips64elTarget,
> - createMCStreamer);
> -
> - // Register the asm streamer.
> - TargetRegistry::RegisterAsmTargetStreamer(TheMipsTarget,
> - createMipsAsmTargetStreamer);
> - TargetRegistry::RegisterAsmTargetStreamer(TheMipselTarget,
> - createMipsAsmTargetStreamer);
> - TargetRegistry::RegisterAsmTargetStreamer(TheMips64Target,
> - createMipsAsmTargetStreamer);
> - TargetRegistry::RegisterAsmTargetStreamer(TheMips64elTarget,
> - createMipsAsmTargetStreamer);
> -
> - TargetRegistry::RegisterNullTargetStreamer(TheMipsTarget,
> -
> createMipsNullTargetStreamer);
> - TargetRegistry::RegisterNullTargetStreamer(TheMipselTarget,
> -
> createMipsNullTargetStreamer);
> - TargetRegistry::RegisterNullTargetStreamer(TheMips64Target,
> -
> createMipsNullTargetStreamer);
> - TargetRegistry::RegisterNullTargetStreamer(TheMips64elTarget,
> -
> createMipsNullTargetStreamer);
> + for (Target *T : {&TheMipsTarget, &TheMips64Target})
> + TargetRegistry::RegisterMCCodeEmitter(*T, createMipsMCCodeEmitterEB);
> +
> + for (Target *T : {&TheMipselTarget, &TheMips64elTarget})
> + TargetRegistry::RegisterMCCodeEmitter(*T, createMipsMCCodeEmitterEL);
>
> // Register the asm backend.
> TargetRegistry::RegisterMCAsmBackend(TheMipsTarget,
> @@ -207,23 +178,4 @@ extern "C" void LLVMInitializeMipsTarget
> TargetRegistry::RegisterMCAsmBackend(TheMips64elTarget,
> createMipsAsmBackendEL64);
>
> - // Register the MC subtarget info.
> - TargetRegistry::RegisterMCSubtargetInfo(TheMipsTarget,
> - createMipsMCSubtargetInfo);
> - TargetRegistry::RegisterMCSubtargetInfo(TheMipselTarget,
> - createMipsMCSubtargetInfo);
> - TargetRegistry::RegisterMCSubtargetInfo(TheMips64Target,
> - createMipsMCSubtargetInfo);
> - TargetRegistry::RegisterMCSubtargetInfo(TheMips64elTarget,
> - createMipsMCSubtargetInfo);
> -
> - // Register the MCInstPrinter.
> - TargetRegistry::RegisterMCInstPrinter(TheMipsTarget,
> - createMipsMCInstPrinter);
> - TargetRegistry::RegisterMCInstPrinter(TheMipselTarget,
> - createMipsMCInstPrinter);
> - TargetRegistry::RegisterMCInstPrinter(TheMips64Target,
> - createMipsMCInstPrinter);
> - TargetRegistry::RegisterMCInstPrinter(TheMips64elTarget,
> - createMipsMCInstPrinter);
> }
>
> Modified: llvm/trunk/lib/Target/NVPTX/MCTargetDesc/NVPTXMCTargetDesc.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/NVPTX/MCTargetDesc/NVPTXMCTargetDesc.cpp?rev=232688&r1=232687&r2=232688&view=diff
>
> ==============================================================================
> --- llvm/trunk/lib/Target/NVPTX/MCTargetDesc/NVPTXMCTargetDesc.cpp
> (original)
> +++ llvm/trunk/lib/Target/NVPTX/MCTargetDesc/NVPTXMCTargetDesc.cpp Wed Mar
> 18 18:15:49 2015
> @@ -71,35 +71,23 @@ static MCInstPrinter *createNVPTXMCInstP
>
> // Force static initialization.
> extern "C" void LLVMInitializeNVPTXTargetMC() {
> - // Register the MC asm info.
> - RegisterMCAsmInfo<NVPTXMCAsmInfo> X(TheNVPTXTarget32);
> - RegisterMCAsmInfo<NVPTXMCAsmInfo> Y(TheNVPTXTarget64);
> -
> - // Register the MC codegen info.
> - TargetRegistry::RegisterMCCodeGenInfo(TheNVPTXTarget32,
> - createNVPTXMCCodeGenInfo);
> - TargetRegistry::RegisterMCCodeGenInfo(TheNVPTXTarget64,
> - createNVPTXMCCodeGenInfo);
> -
> - // Register the MC instruction info.
> - TargetRegistry::RegisterMCInstrInfo(TheNVPTXTarget32,
> createNVPTXMCInstrInfo);
> - TargetRegistry::RegisterMCInstrInfo(TheNVPTXTarget64,
> createNVPTXMCInstrInfo);
> -
> - // Register the MC register info.
> - TargetRegistry::RegisterMCRegInfo(TheNVPTXTarget32,
> - createNVPTXMCRegisterInfo);
> - TargetRegistry::RegisterMCRegInfo(TheNVPTXTarget64,
> - createNVPTXMCRegisterInfo);
> -
> - // Register the MC subtarget info.
> - TargetRegistry::RegisterMCSubtargetInfo(TheNVPTXTarget32,
> - createNVPTXMCSubtargetInfo);
> - TargetRegistry::RegisterMCSubtargetInfo(TheNVPTXTarget64,
> - createNVPTXMCSubtargetInfo);
> -
> - // Register the MCInstPrinter.
> - TargetRegistry::RegisterMCInstPrinter(TheNVPTXTarget32,
> - createNVPTXMCInstPrinter);
> - TargetRegistry::RegisterMCInstPrinter(TheNVPTXTarget64,
> - createNVPTXMCInstPrinter);
> + for (Target *T : {&TheNVPTXTarget32, &TheNVPTXTarget64}) {
> + // Register the MC asm info.
> + RegisterMCAsmInfo<NVPTXMCAsmInfo> X(*T);
> +
> + // Register the MC codegen info.
> + TargetRegistry::RegisterMCCodeGenInfo(*T, createNVPTXMCCodeGenInfo);
> +
> + // Register the MC instruction info.
> + TargetRegistry::RegisterMCInstrInfo(*T, createNVPTXMCInstrInfo);
> +
> + // Register the MC register info.
> + TargetRegistry::RegisterMCRegInfo(*T, createNVPTXMCRegisterInfo);
> +
> + // Register the MC subtarget info.
> + TargetRegistry::RegisterMCSubtargetInfo(*T,
> createNVPTXMCSubtargetInfo);
> +
> + // Register the MCInstPrinter.
> + TargetRegistry::RegisterMCInstPrinter(*T, createNVPTXMCInstPrinter);
> + }
> }
>
> Modified: llvm/trunk/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp?rev=232688&r1=232687&r2=232688&view=diff
>
> ==============================================================================
> --- llvm/trunk/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
> (original)
> +++ llvm/trunk/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp Wed Mar
> 18 18:15:49 2015
> @@ -257,63 +257,35 @@ static MCInstPrinter *createPPCMCInstPri
> }
>
> extern "C" void LLVMInitializePowerPCTargetMC() {
> - // Register the MC asm info.
> - RegisterMCAsmInfoFn C(ThePPC32Target, createPPCMCAsmInfo);
> - RegisterMCAsmInfoFn D(ThePPC64Target, createPPCMCAsmInfo);
> - RegisterMCAsmInfoFn E(ThePPC64LETarget, createPPCMCAsmInfo);
> -
> - // Register the MC codegen info.
> - TargetRegistry::RegisterMCCodeGenInfo(ThePPC32Target,
> createPPCMCCodeGenInfo);
> - TargetRegistry::RegisterMCCodeGenInfo(ThePPC64Target,
> createPPCMCCodeGenInfo);
> - TargetRegistry::RegisterMCCodeGenInfo(ThePPC64LETarget,
> - createPPCMCCodeGenInfo);
> -
> - // Register the MC instruction info.
> - TargetRegistry::RegisterMCInstrInfo(ThePPC32Target,
> createPPCMCInstrInfo);
> - TargetRegistry::RegisterMCInstrInfo(ThePPC64Target,
> createPPCMCInstrInfo);
> - TargetRegistry::RegisterMCInstrInfo(ThePPC64LETarget,
> - createPPCMCInstrInfo);
> -
> - // Register the MC register info.
> - TargetRegistry::RegisterMCRegInfo(ThePPC32Target,
> createPPCMCRegisterInfo);
> - TargetRegistry::RegisterMCRegInfo(ThePPC64Target,
> createPPCMCRegisterInfo);
> - TargetRegistry::RegisterMCRegInfo(ThePPC64LETarget,
> createPPCMCRegisterInfo);
> -
> - // Register the MC subtarget info.
> - TargetRegistry::RegisterMCSubtargetInfo(ThePPC32Target,
> - createPPCMCSubtargetInfo);
> - TargetRegistry::RegisterMCSubtargetInfo(ThePPC64Target,
> - createPPCMCSubtargetInfo);
> - TargetRegistry::RegisterMCSubtargetInfo(ThePPC64LETarget,
> - createPPCMCSubtargetInfo);
> -
> - // Register the MC Code Emitter
> - TargetRegistry::RegisterMCCodeEmitter(ThePPC32Target,
> createPPCMCCodeEmitter);
> - TargetRegistry::RegisterMCCodeEmitter(ThePPC64Target,
> createPPCMCCodeEmitter);
> - TargetRegistry::RegisterMCCodeEmitter(ThePPC64LETarget,
> - createPPCMCCodeEmitter);
> -
> + for (Target *T : {&ThePPC32Target, &ThePPC64Target, &ThePPC64LETarget})
> {
> + // Register the MC asm info.
> + RegisterMCAsmInfoFn C(*T, createPPCMCAsmInfo);
> +
> + // Register the MC codegen info.
> + TargetRegistry::RegisterMCCodeGenInfo(*T, createPPCMCCodeGenInfo);
> +
> + // Register the MC instruction info.
> + TargetRegistry::RegisterMCInstrInfo(*T, createPPCMCInstrInfo);
> +
> + // Register the MC register info.
> + TargetRegistry::RegisterMCRegInfo(*T, createPPCMCRegisterInfo);
> +
> + // Register the MC subtarget info.
> + TargetRegistry::RegisterMCSubtargetInfo(*T, createPPCMCSubtargetInfo);
> +
> + // Register the MC Code Emitter
> + TargetRegistry::RegisterMCCodeEmitter(*T, createPPCMCCodeEmitter);
> +
> // Register the asm backend.
> - TargetRegistry::RegisterMCAsmBackend(ThePPC32Target,
> createPPCAsmBackend);
> - TargetRegistry::RegisterMCAsmBackend(ThePPC64Target,
> createPPCAsmBackend);
> - TargetRegistry::RegisterMCAsmBackend(ThePPC64LETarget,
> createPPCAsmBackend);
> -
> - // Register the object streamer.
> - TargetRegistry::RegisterMCObjectStreamer(ThePPC32Target,
> createMCStreamer);
> - TargetRegistry::RegisterMCObjectStreamer(ThePPC64Target,
> createMCStreamer);
> - TargetRegistry::RegisterMCObjectStreamer(ThePPC64LETarget,
> createMCStreamer);
> -
> - // Register the asm streamer.
> - TargetRegistry::RegisterAsmTargetStreamer(ThePPC32Target,
> - createAsmTargetStreamer);
> - TargetRegistry::RegisterAsmTargetStreamer(ThePPC64Target,
> - createAsmTargetStreamer);
> - TargetRegistry::RegisterAsmTargetStreamer(ThePPC64LETarget,
> - createAsmTargetStreamer);
> -
> - // Register the MCInstPrinter.
> - TargetRegistry::RegisterMCInstPrinter(ThePPC32Target,
> createPPCMCInstPrinter);
> - TargetRegistry::RegisterMCInstPrinter(ThePPC64Target,
> createPPCMCInstPrinter);
> - TargetRegistry::RegisterMCInstPrinter(ThePPC64LETarget,
> - createPPCMCInstPrinter);
> + TargetRegistry::RegisterMCAsmBackend(*T, createPPCAsmBackend);
> +
> + // Register the object streamer.
> + TargetRegistry::RegisterMCObjectStreamer(*T, createMCStreamer);
> +
> + // Register the asm target streamer.
> + TargetRegistry::RegisterAsmTargetStreamer(*T,
> createAsmTargetStreamer);
> +
> + // Register the MCInstPrinter.
> + TargetRegistry::RegisterMCInstPrinter(*T, createPPCMCInstPrinter);
> + }
> }
>
> Modified: llvm/trunk/lib/Target/R600/MCTargetDesc/AMDGPUMCTargetDesc.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/MCTargetDesc/AMDGPUMCTargetDesc.cpp?rev=232688&r1=232687&r2=232688&view=diff
>
> ==============================================================================
> --- llvm/trunk/lib/Target/R600/MCTargetDesc/AMDGPUMCTargetDesc.cpp
> (original)
> +++ llvm/trunk/lib/Target/R600/MCTargetDesc/AMDGPUMCTargetDesc.cpp Wed Mar
> 18 18:15:49 2015
> @@ -74,28 +74,18 @@ static MCInstPrinter *createAMDGPUMCInst
> }
>
> extern "C" void LLVMInitializeR600TargetMC() {
> + for (Target *T : {&TheAMDGPUTarget, &TheGCNTarget}) {
> + RegisterMCAsmInfo<AMDGPUMCAsmInfo> X(*T);
>
> - RegisterMCAsmInfo<AMDGPUMCAsmInfo> Y(TheAMDGPUTarget);
> - RegisterMCAsmInfo<AMDGPUMCAsmInfo> Z(TheGCNTarget);
> + TargetRegistry::RegisterMCCodeGenInfo(*T, createAMDGPUMCCodeGenInfo);
> + TargetRegistry::RegisterMCInstrInfo(*T, createAMDGPUMCInstrInfo);
> + TargetRegistry::RegisterMCRegInfo(*T, createAMDGPUMCRegisterInfo);
> + TargetRegistry::RegisterMCSubtargetInfo(*T,
> createAMDGPUMCSubtargetInfo);
> + TargetRegistry::RegisterMCInstPrinter(*T, createAMDGPUMCInstPrinter);
> + TargetRegistry::RegisterMCAsmBackend(*T, createAMDGPUAsmBackend);
> + }
>
> - TargetRegistry::RegisterMCCodeGenInfo(TheAMDGPUTarget,
> createAMDGPUMCCodeGenInfo);
> - TargetRegistry::RegisterMCCodeGenInfo(TheGCNTarget,
> createAMDGPUMCCodeGenInfo);
> -
> - TargetRegistry::RegisterMCInstrInfo(TheAMDGPUTarget,
> createAMDGPUMCInstrInfo);
> - TargetRegistry::RegisterMCInstrInfo(TheGCNTarget,
> createAMDGPUMCInstrInfo);
> -
> - TargetRegistry::RegisterMCRegInfo(TheAMDGPUTarget,
> createAMDGPUMCRegisterInfo);
> - TargetRegistry::RegisterMCRegInfo(TheGCNTarget,
> createAMDGPUMCRegisterInfo);
> -
> - TargetRegistry::RegisterMCSubtargetInfo(TheAMDGPUTarget,
> createAMDGPUMCSubtargetInfo);
> - TargetRegistry::RegisterMCSubtargetInfo(TheGCNTarget,
> createAMDGPUMCSubtargetInfo);
> -
> - TargetRegistry::RegisterMCInstPrinter(TheAMDGPUTarget,
> createAMDGPUMCInstPrinter);
> - TargetRegistry::RegisterMCInstPrinter(TheGCNTarget,
> createAMDGPUMCInstPrinter);
> -
> - TargetRegistry::RegisterMCCodeEmitter(TheAMDGPUTarget,
> createR600MCCodeEmitter);
> + TargetRegistry::RegisterMCCodeEmitter(TheAMDGPUTarget,
> + createR600MCCodeEmitter);
> TargetRegistry::RegisterMCCodeEmitter(TheGCNTarget,
> createSIMCCodeEmitter);
> -
> - TargetRegistry::RegisterMCAsmBackend(TheAMDGPUTarget,
> createAMDGPUAsmBackend);
> - TargetRegistry::RegisterMCAsmBackend(TheGCNTarget,
> createAMDGPUAsmBackend);
> }
>
> Modified: llvm/trunk/lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.cpp?rev=232688&r1=232687&r2=232688&view=diff
>
> ==============================================================================
> --- llvm/trunk/lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.cpp
> (original)
> +++ llvm/trunk/lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.cpp Wed Mar
> 18 18:15:49 2015
> @@ -152,54 +152,36 @@ extern "C" void LLVMInitializeSparcTarge
> RegisterMCAsmInfoFn X(TheSparcTarget, createSparcMCAsmInfo);
> RegisterMCAsmInfoFn Y(TheSparcV9Target, createSparcV9MCAsmInfo);
>
> + for (Target *T : {&TheSparcTarget, &TheSparcV9Target}) {
> + // Register the MC instruction info.
> + TargetRegistry::RegisterMCInstrInfo(*T, createSparcMCInstrInfo);
> +
> + // Register the MC register info.
> + TargetRegistry::RegisterMCRegInfo(*T, createSparcMCRegisterInfo);
> +
> + // Register the MC subtarget info.
> + TargetRegistry::RegisterMCSubtargetInfo(*T,
> createSparcMCSubtargetInfo);
> +
> + // Register the MC Code Emitter.
> + TargetRegistry::RegisterMCCodeEmitter(*T, createSparcMCCodeEmitter);
> +
> + // Register the asm backend.
> + TargetRegistry::RegisterMCAsmBackend(*T, createSparcAsmBackend);
> +
> + // Register the object streamer.
> + TargetRegistry::RegisterMCObjectStreamer(*T, createMCStreamer);
> +
> + // Register the asm streamer.
> + TargetRegistry::RegisterAsmTargetStreamer(*T,
> createTargetAsmStreamer);
> +
> + // Register the MCInstPrinter
> + TargetRegistry::RegisterMCInstPrinter(*T, createSparcMCInstPrinter);
> + }
> +
> // Register the MC codegen info.
> TargetRegistry::RegisterMCCodeGenInfo(TheSparcTarget,
> createSparcMCCodeGenInfo);
> TargetRegistry::RegisterMCCodeGenInfo(TheSparcV9Target,
> createSparcV9MCCodeGenInfo);
>
> - // Register the MC instruction info.
> - TargetRegistry::RegisterMCInstrInfo(TheSparcTarget,
> createSparcMCInstrInfo);
> - TargetRegistry::RegisterMCInstrInfo(TheSparcV9Target,
> createSparcMCInstrInfo);
> -
> - // Register the MC register info.
> - TargetRegistry::RegisterMCRegInfo(TheSparcTarget,
> createSparcMCRegisterInfo);
> - TargetRegistry::RegisterMCRegInfo(TheSparcV9Target,
> - createSparcMCRegisterInfo);
> -
> - // Register the MC subtarget info.
> - TargetRegistry::RegisterMCSubtargetInfo(TheSparcTarget,
> - createSparcMCSubtargetInfo);
> - TargetRegistry::RegisterMCSubtargetInfo(TheSparcV9Target,
> - createSparcMCSubtargetInfo);
> -
> - // Register the MC Code Emitter.
> - TargetRegistry::RegisterMCCodeEmitter(TheSparcTarget,
> - createSparcMCCodeEmitter);
> - TargetRegistry::RegisterMCCodeEmitter(TheSparcV9Target,
> - createSparcMCCodeEmitter);
> -
> - //Register the asm backend.
> - TargetRegistry::RegisterMCAsmBackend(TheSparcTarget,
> - createSparcAsmBackend);
> - TargetRegistry::RegisterMCAsmBackend(TheSparcV9Target,
> - createSparcAsmBackend);
> -
> - // Register the object streamer.
> - TargetRegistry::RegisterMCObjectStreamer(TheSparcTarget,
> - createMCStreamer);
> - TargetRegistry::RegisterMCObjectStreamer(TheSparcV9Target,
> - createMCStreamer);
> -
> - // Register the asm streamer.
> - TargetRegistry::RegisterAsmTargetStreamer(TheSparcTarget,
> - createTargetAsmStreamer);
> - TargetRegistry::RegisterAsmTargetStreamer(TheSparcV9Target,
> - createTargetAsmStreamer);
> -
> - // Register the MCInstPrinter
> - TargetRegistry::RegisterMCInstPrinter(TheSparcTarget,
> - createSparcMCInstPrinter);
> - TargetRegistry::RegisterMCInstPrinter(TheSparcV9Target,
> - createSparcMCInstPrinter);
> }
>
> Modified: llvm/trunk/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp?rev=232688&r1=232687&r2=232688&view=diff
>
> ==============================================================================
> --- llvm/trunk/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp (original)
> +++ llvm/trunk/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp Wed Mar 18
> 18:15:49 2015
> @@ -390,61 +390,42 @@ static MCInstrAnalysis *createX86MCInstr
>
> // Force static initialization.
> extern "C" void LLVMInitializeX86TargetMC() {
> - // Register the MC asm info.
> - RegisterMCAsmInfoFn A(TheX86_32Target, createX86MCAsmInfo);
> - RegisterMCAsmInfoFn B(TheX86_64Target, createX86MCAsmInfo);
> -
> - // Register the MC codegen info.
> - RegisterMCCodeGenInfoFn C(TheX86_32Target, createX86MCCodeGenInfo);
> - RegisterMCCodeGenInfoFn D(TheX86_64Target, createX86MCCodeGenInfo);
> -
> - // Register the MC instruction info.
> - TargetRegistry::RegisterMCInstrInfo(TheX86_32Target,
> createX86MCInstrInfo);
> - TargetRegistry::RegisterMCInstrInfo(TheX86_64Target,
> createX86MCInstrInfo);
> -
> - // Register the MC register info.
> - TargetRegistry::RegisterMCRegInfo(TheX86_32Target,
> createX86MCRegisterInfo);
> - TargetRegistry::RegisterMCRegInfo(TheX86_64Target,
> createX86MCRegisterInfo);
> -
> - // Register the MC subtarget info.
> - TargetRegistry::RegisterMCSubtargetInfo(TheX86_32Target,
> -
> X86_MC::createX86MCSubtargetInfo);
> - TargetRegistry::RegisterMCSubtargetInfo(TheX86_64Target,
> -
> X86_MC::createX86MCSubtargetInfo);
> -
> - // Register the MC instruction analyzer.
> - TargetRegistry::RegisterMCInstrAnalysis(TheX86_32Target,
> - createX86MCInstrAnalysis);
> - TargetRegistry::RegisterMCInstrAnalysis(TheX86_64Target,
> - createX86MCInstrAnalysis);
> -
> - // Register the code emitter.
> - TargetRegistry::RegisterMCCodeEmitter(TheX86_32Target,
> - createX86MCCodeEmitter);
> - TargetRegistry::RegisterMCCodeEmitter(TheX86_64Target,
> - createX86MCCodeEmitter);
> + for (Target *T : {&TheX86_32Target, &TheX86_64Target}) {
> + // Register the MC asm info.
> + RegisterMCAsmInfoFn X(*T, createX86MCAsmInfo);
> +
> + // Register the MC codegen info.
> + RegisterMCCodeGenInfoFn Y(*T, createX86MCCodeGenInfo);
> +
> + // Register the MC instruction info.
> + TargetRegistry::RegisterMCInstrInfo(*T, createX86MCInstrInfo);
> +
> + // Register the MC register info.
> + TargetRegistry::RegisterMCRegInfo(*T, createX86MCRegisterInfo);
> +
> + // Register the MC subtarget info.
> + TargetRegistry::RegisterMCSubtargetInfo(*T,
> +
> X86_MC::createX86MCSubtargetInfo);
> +
> + // Register the MC instruction analyzer.
> + TargetRegistry::RegisterMCInstrAnalysis(*T, createX86MCInstrAnalysis);
> +
> + // Register the code emitter.
> + TargetRegistry::RegisterMCCodeEmitter(*T, createX86MCCodeEmitter);
> +
> + // Register the object streamer.
> + TargetRegistry::RegisterMCObjectStreamer(*T, createMCStreamer);
> +
> + // Register the MCInstPrinter.
> + TargetRegistry::RegisterMCInstPrinter(*T, createX86MCInstPrinter);
> +
> + // Register the MC relocation info.
> + TargetRegistry::RegisterMCRelocationInfo(*T,
> createX86MCRelocationInfo);
> + }
>
> // Register the asm backend.
> TargetRegistry::RegisterMCAsmBackend(TheX86_32Target,
> createX86_32AsmBackend);
> TargetRegistry::RegisterMCAsmBackend(TheX86_64Target,
> createX86_64AsmBackend);
> -
> - // Register the object streamer.
> - TargetRegistry::RegisterMCObjectStreamer(TheX86_32Target,
> - createMCStreamer);
> - TargetRegistry::RegisterMCObjectStreamer(TheX86_64Target,
> - createMCStreamer);
> -
> - // Register the MCInstPrinter.
> - TargetRegistry::RegisterMCInstPrinter(TheX86_32Target,
> - createX86MCInstPrinter);
> - TargetRegistry::RegisterMCInstPrinter(TheX86_64Target,
> - createX86MCInstPrinter);
> -
> - // Register the MC relocation info.
> - TargetRegistry::RegisterMCRelocationInfo(TheX86_32Target,
> - createX86MCRelocationInfo);
> - TargetRegistry::RegisterMCRelocationInfo(TheX86_64Target,
> - createX86MCRelocationInfo);
> }
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150318/28878409/attachment.html>
More information about the llvm-commits
mailing list