[M3commit] [modula3/cm3] 9ee098: Add backend modes for standalone cm3-IR->llvm-IR t...

Rodney Bates rodney.m.bates at acm.org
Thu Aug 6 22:33:07 CEST 2015

  Branch: refs/heads/master
  Home:   https://github.com/modula3/cm3
  Commit: 9ee0988a34e2ccfe8a0d95b9e12a249f8251be66
  Author: Rodney Bates <rodney.m.bates at acm.org>
  Date:   2015-08-06 (Thu, 06 Aug 2015)

  Changed paths:
    M m3-sys/cm3/src/Builder.m3
    M m3-sys/cm3/src/llvmdummy/LLGen.i3
    M m3-sys/cm3/src/llvmdummy/LLGen.m3
    M m3-sys/cm3/src/m3makefile
    M m3-sys/cm3/src/version.quake
    M m3-sys/cminstall/src/config-no-install/Unix.common
    M m3-sys/m3middle/src/Target.i3

  Log Message:
  Add backend modes for standalone cm3-IR->llvm-IR translator executable.

 On branch master
 Changes to be committed:

	modified:   m3-sys/cm3/src/Builder.m3
	modified:   m3-sys/cm3/src/llvmdummy/LLGen.i3
	modified:   m3-sys/cm3/src/llvmdummy/LLGen.m3
	modified:   m3-sys/cm3/src/m3makefile
	modified:   m3-sys/cm3/src/version.quake
	modified:   m3-sys/cminstall/src/config-no-install/Unix.common
	modified:   m3-sys/m3middle/src/Target.i3

Add new backend modes StAloneLlvmAsm and StAloneLlvmObj.
These produce cm3-IR (.ic/.mc) in cm3, run "m3llvm" as a separate executable,
to translate to llvm-IR bitcode (.ib/.mb), run llc to compile that, and,
in the case of StAloneLlvmAsm, run asm separately.

More information about the M3commit mailing list