[PATCH] Add HSAIL target

Matt Arsenault Matthew.Arsenault at amd.com
Fri Jun 19 18:49:41 PDT 2015


Update for trunk changes, plus a few bug fixes. Add new WIP set of intrinsics.


http://reviews.llvm.org/D9751

Files:
  CODE_OWNERS.TXT
  docs/CompilerWriterInfo.rst
  include/llvm/IR/Intrinsics.td
  include/llvm/IR/IntrinsicsHSAIL.td
  lib/Target/HSAIL/AMDOpenCLKernenv.h
  lib/Target/HSAIL/BRIGAsmPrinter/BRIGAsmPrinter.cpp
  lib/Target/HSAIL/BRIGAsmPrinter/BRIGAsmPrinter.h
  lib/Target/HSAIL/BRIGAsmPrinter/BRIGDwarfCompileUnit.h
  lib/Target/HSAIL/BRIGAsmPrinter/HSAILKernelManager.cpp
  lib/Target/HSAIL/BRIGAsmPrinter/HSAILKernelManager.h
  lib/Target/HSAIL/BRIGAsmPrinter/LibHSAILAdapters.h
  lib/Target/HSAIL/CMakeLists.txt
  lib/Target/HSAIL/HSAIL.h
  lib/Target/HSAIL/HSAIL.td
  lib/Target/HSAIL/HSAILAlwaysInlinePass.cpp
  lib/Target/HSAIL/HSAILArithmetic.td
  lib/Target/HSAIL/HSAILAsmPrinter.cpp
  lib/Target/HSAIL/HSAILAsmPrinter.h
  lib/Target/HSAIL/HSAILAtomics.td
  lib/Target/HSAIL/HSAILBrig.h
  lib/Target/HSAIL/HSAILBrigDefs.h
  lib/Target/HSAIL/HSAILComparisons.td
  lib/Target/HSAIL/HSAILCompilerErrors.h
  lib/Target/HSAIL/HSAILControlFlow.td
  lib/Target/HSAIL/HSAILConversions.td
  lib/Target/HSAIL/HSAILELFTargetObjectFile.cpp
  lib/Target/HSAIL/HSAILELFTargetObjectFile.h
  lib/Target/HSAIL/HSAILEnums.td
  lib/Target/HSAIL/HSAILFrameLowering.cpp
  lib/Target/HSAIL/HSAILFrameLowering.h
  lib/Target/HSAIL/HSAILFusion.td
  lib/Target/HSAIL/HSAILISelDAGToDAG.cpp
  lib/Target/HSAIL/HSAILISelLowering.cpp
  lib/Target/HSAIL/HSAILISelLowering.h
  lib/Target/HSAIL/HSAILImages.td
  lib/Target/HSAIL/HSAILInstrFormats.td
  lib/Target/HSAIL/HSAILInstrInfo.cpp
  lib/Target/HSAIL/HSAILInstrInfo.h
  lib/Target/HSAIL/HSAILInstrInfo.td
  lib/Target/HSAIL/HSAILInstructions.td
  lib/Target/HSAIL/HSAILIntrinsicInfo.cpp
  lib/Target/HSAIL/HSAILIntrinsicInfo.h
  lib/Target/HSAIL/HSAILIntrinsics.td
  lib/Target/HSAIL/HSAILKernel.h
  lib/Target/HSAIL/HSAILLoadStore.td
  lib/Target/HSAIL/HSAILMCInstLower.cpp
  lib/Target/HSAIL/HSAILMCInstLower.h
  lib/Target/HSAIL/HSAILMachineFunctionInfo.cpp
  lib/Target/HSAIL/HSAILMachineFunctionInfo.h
  lib/Target/HSAIL/HSAILMetadata.hpp
  lib/Target/HSAIL/HSAILModuleInfo.cpp
  lib/Target/HSAIL/HSAILModuleInfo.h
  lib/Target/HSAIL/HSAILNodes.td
  lib/Target/HSAIL/HSAILOpaqueTypes.cpp
  lib/Target/HSAIL/HSAILOpaqueTypes.h
  lib/Target/HSAIL/HSAILOperands.td
  lib/Target/HSAIL/HSAILParamManager.cpp
  lib/Target/HSAIL/HSAILParamManager.h
  lib/Target/HSAIL/HSAILPatterns.td
  lib/Target/HSAIL/HSAILProfiles.td
  lib/Target/HSAIL/HSAILRegisterInfo.cpp
  lib/Target/HSAIL/HSAILRegisterInfo.h
  lib/Target/HSAIL/HSAILRegisterInfo.td
  lib/Target/HSAIL/HSAILSection.cpp
  lib/Target/HSAIL/HSAILSection.h
  lib/Target/HSAIL/HSAILSpecial.td
  lib/Target/HSAIL/HSAILStoreInitializer.cpp
  lib/Target/HSAIL/HSAILStoreInitializer.h
  lib/Target/HSAIL/HSAILSubtarget.cpp
  lib/Target/HSAIL/HSAILSubtarget.h
  lib/Target/HSAIL/HSAILTargetMachine.cpp
  lib/Target/HSAIL/HSAILTargetMachine.h
  lib/Target/HSAIL/HSAILUtil/CMakeLists.txt
  lib/Target/HSAIL/HSAILUtil/HSAILUtil.cpp
  lib/Target/HSAIL/HSAILUtilityFunctions.cpp
  lib/Target/HSAIL/HSAILUtilityFunctions.h
  lib/Target/HSAIL/InstPrinter/CMakeLists.txt
  lib/Target/HSAIL/InstPrinter/HSAILInstPrinter.cpp
  lib/Target/HSAIL/InstPrinter/HSAILInstPrinter.h
  lib/Target/HSAIL/InstPrinter/LLVMBuild.txt
  lib/Target/HSAIL/LLVMBuild.txt
  lib/Target/HSAIL/MCTargetDesc/BRIGDwarfStreamer.cpp
  lib/Target/HSAIL/MCTargetDesc/BRIGDwarfStreamer.h
  lib/Target/HSAIL/MCTargetDesc/CMakeLists.txt
  lib/Target/HSAIL/MCTargetDesc/HSAILAsmBackend.cpp
  lib/Target/HSAIL/MCTargetDesc/HSAILAsmBackend.h
  lib/Target/HSAIL/MCTargetDesc/HSAILELFObjectWriter.cpp
  lib/Target/HSAIL/MCTargetDesc/HSAILELFObjectWriter.h
  lib/Target/HSAIL/MCTargetDesc/HSAILMCAsmInfo.cpp
  lib/Target/HSAIL/MCTargetDesc/HSAILMCAsmInfo.h
  lib/Target/HSAIL/MCTargetDesc/HSAILMCCodeEmitter.cpp
  lib/Target/HSAIL/MCTargetDesc/HSAILMCCodeEmitter.h
  lib/Target/HSAIL/MCTargetDesc/HSAILMCTargetDesc.cpp
  lib/Target/HSAIL/MCTargetDesc/HSAILMCTargetDesc.h
  lib/Target/HSAIL/MCTargetDesc/HSAILTargetStreamer.cpp
  lib/Target/HSAIL/MCTargetDesc/HSAILTargetStreamer.h
  lib/Target/HSAIL/MCTargetDesc/LLVMBuild.txt
  lib/Target/HSAIL/MCTargetDesc/RawVectorOstream.cpp
  lib/Target/HSAIL/MCTargetDesc/RawVectorOstream.h
  lib/Target/HSAIL/TargetInfo/CMakeLists.txt
  lib/Target/HSAIL/TargetInfo/HSAILTargetInfo.cpp
  lib/Target/HSAIL/TargetInfo/LLVMBuild.txt
  lib/Target/LLVMBuild.txt
  test/CodeGen/HSAIL/128bit-kernel-args.ll
  test/CodeGen/HSAIL/32-bit-local-address-space.ll
  test/CodeGen/HSAIL/64bit-kernel-args.ll
  test/CodeGen/HSAIL/abs.ll
  test/CodeGen/HSAIL/activelanecount.ll
  test/CodeGen/HSAIL/activelaneid.ll
  test/CodeGen/HSAIL/activelanemask.ll
  test/CodeGen/HSAIL/activelanepermute.ll
  test/CodeGen/HSAIL/add.ll
  test/CodeGen/HSAIL/addressing-modes.ll
  test/CodeGen/HSAIL/addrspacecast.ll
  test/CodeGen/HSAIL/and1.ll
  test/CodeGen/HSAIL/anonymous-gv-names.ll
  test/CodeGen/HSAIL/anonymous-parameters.ll
  test/CodeGen/HSAIL/anyext.ll
  test/CodeGen/HSAIL/atomic_cmp_swap_group.ll
  test/CodeGen/HSAIL/basic-branch.ll
  test/CodeGen/HSAIL/basic-loop.ll
  test/CodeGen/HSAIL/bitalign_opt.ll
  test/CodeGen/HSAIL/bitcast.ll
  test/CodeGen/HSAIL/bitextract_opt.ll
  test/CodeGen/HSAIL/bitselect_opt.ll
  test/CodeGen/HSAIL/broken-chain-retval.ll
  test/CodeGen/HSAIL/build_vector.ll
  test/CodeGen/HSAIL/call.ll
  test/CodeGen/HSAIL/conversion_intrinsics.ll
  test/CodeGen/HSAIL/conversion_patterns.ll
  test/CodeGen/HSAIL/copy-illegal-type.ll
  test/CodeGen/HSAIL/ctlz.ll
  test/CodeGen/HSAIL/ctlz_zero_undef.ll
  test/CodeGen/HSAIL/ctpop.ll
  test/CodeGen/HSAIL/cttz.ll
  test/CodeGen/HSAIL/cttz_zero_undef.ll
  test/CodeGen/HSAIL/cvt_f32_ubyte.ll
  test/CodeGen/HSAIL/dagcombiner-bug-illegal-vec4-int-to-fp.ll
  test/CodeGen/HSAIL/ds-negative-offset-addressing-mode-loop.ll
  test/CodeGen/HSAIL/empty-function.ll
  test/CodeGen/HSAIL/empty-functions.ll
  test/CodeGen/HSAIL/ext-args.ll
  test/CodeGen/HSAIL/extension-features.ll
  test/CodeGen/HSAIL/extract_vector_elt_i16.ll
  test/CodeGen/HSAIL/fabs.ll
  test/CodeGen/HSAIL/fadd.ll
  test/CodeGen/HSAIL/fceil.ll
  test/CodeGen/HSAIL/fcmp-cnd.ll
  test/CodeGen/HSAIL/fcmp-cnde-int-args.ll
  test/CodeGen/HSAIL/fcmp.ll
  test/CodeGen/HSAIL/fconst64.ll
  test/CodeGen/HSAIL/fcopysign.ll
  test/CodeGen/HSAIL/fdiv.ll
  test/CodeGen/HSAIL/ffloor.ll
  test/CodeGen/HSAIL/flat-atomics.ll
  test/CodeGen/HSAIL/fma.ll
  test/CodeGen/HSAIL/fmaxnum.ll
  test/CodeGen/HSAIL/fminnum.ll
  test/CodeGen/HSAIL/fmuladd.ll
  test/CodeGen/HSAIL/fneg.ll
  test/CodeGen/HSAIL/fp64_to_sint.ll
  test/CodeGen/HSAIL/fp_to_sint.ll
  test/CodeGen/HSAIL/fp_to_uint.ll
  test/CodeGen/HSAIL/fpext.ll
  test/CodeGen/HSAIL/fptrunc.ll
  test/CodeGen/HSAIL/fsub.ll
  test/CodeGen/HSAIL/ftrunc.ll
  test/CodeGen/HSAIL/function-args.ll
  test/CodeGen/HSAIL/generic-address-bug9899.ll
  test/CodeGen/HSAIL/global-atomics.ll
  test/CodeGen/HSAIL/global-i1.ll
  test/CodeGen/HSAIL/global-variable-alias.ll
  test/CodeGen/HSAIL/group-atomics.ll
  test/CodeGen/HSAIL/gv-const-addrspace.ll
  test/CodeGen/HSAIL/gv-global-addrspace.ll
  test/CodeGen/HSAIL/gv-group-addrspace.ll
  test/CodeGen/HSAIL/gv-symbol-initializer.ll
  test/CodeGen/HSAIL/hypen-in-func-name.ll
  test/CodeGen/HSAIL/i1-argument-ext.ll
  test/CodeGen/HSAIL/i1-argument.ll
  test/CodeGen/HSAIL/i8-to-double-to-float.ll
  test/CodeGen/HSAIL/icmp-select-sete-reverse-args.ll
  test/CodeGen/HSAIL/icmp64.ll
  test/CodeGen/HSAIL/imm.ll
  test/CodeGen/HSAIL/indent-call.ll
  test/CodeGen/HSAIL/ineg.ll
  test/CodeGen/HSAIL/infinite-loop.ll
  test/CodeGen/HSAIL/int32to64.ll
  test/CodeGen/HSAIL/kernarg-align.ll
  test/CodeGen/HSAIL/kernel-args.ll
  test/CodeGen/HSAIL/linkage-types.ll
  test/CodeGen/HSAIL/lit.local.cfg
  test/CodeGen/HSAIL/llvm.HSAIL.class.ll
  test/CodeGen/HSAIL/llvm.HSAIL.div.ll
  test/CodeGen/HSAIL/llvm.HSAIL.fmax3.ll
  test/CodeGen/HSAIL/llvm.HSAIL.fmed3.ll
  test/CodeGen/HSAIL/llvm.HSAIL.fmin3.ll
  test/CodeGen/HSAIL/llvm.HSAIL.fract.ll
  test/CodeGen/HSAIL/llvm.HSAIL.ftz.ll
  test/CodeGen/HSAIL/llvm.HSAIL.gcn.atomic.append.ll
  test/CodeGen/HSAIL/llvm.HSAIL.gcn.atomic.consume.ll
  test/CodeGen/HSAIL/llvm.HSAIL.gcn.fldexp.ll
  test/CodeGen/HSAIL/llvm.HSAIL.imax3.ll
  test/CodeGen/HSAIL/llvm.HSAIL.imed3.ll
  test/CodeGen/HSAIL/llvm.HSAIL.imin3.ll
  test/CodeGen/HSAIL/llvm.HSAIL.ld.kernarg.ll
  test/CodeGen/HSAIL/llvm.HSAIL.mad.ll
  test/CodeGen/HSAIL/llvm.HSAIL.max.ll
  test/CodeGen/HSAIL/llvm.HSAIL.min.ll
  test/CodeGen/HSAIL/llvm.HSAIL.mul.ftz.ll
  test/CodeGen/HSAIL/llvm.HSAIL.nullptr.ll
  test/CodeGen/HSAIL/llvm.HSAIL.sqrt.ll
  test/CodeGen/HSAIL/llvm.HSAIL.umax3.ll
  test/CodeGen/HSAIL/llvm.HSAIL.umed3.ll
  test/CodeGen/HSAIL/llvm.HSAIL.umin3.ll
  test/CodeGen/HSAIL/llvm.hsail.barrier.ll
  test/CodeGen/HSAIL/llvm.hsail.bitalign.ll
  test/CodeGen/HSAIL/llvm.hsail.bitmask.ll
  test/CodeGen/HSAIL/llvm.hsail.bitrev.ll
  test/CodeGen/HSAIL/llvm.hsail.bitselect.ll
  test/CodeGen/HSAIL/llvm.hsail.bytealign.ll
  test/CodeGen/HSAIL/llvm.hsail.clock.ll
  test/CodeGen/HSAIL/llvm.hsail.cuid.ll
  test/CodeGen/HSAIL/llvm.hsail.currentworkgroupsize.ll
  test/CodeGen/HSAIL/llvm.hsail.currentworkitemflatid.ll
  test/CodeGen/HSAIL/llvm.hsail.dim.ll
  test/CodeGen/HSAIL/llvm.hsail.fadd.ll
  test/CodeGen/HSAIL/llvm.hsail.fdiv.ll
  test/CodeGen/HSAIL/llvm.hsail.fmul.ll
  test/CodeGen/HSAIL/llvm.hsail.fsqrt.ll
  test/CodeGen/HSAIL/llvm.hsail.fsub.ll
  test/CodeGen/HSAIL/llvm.hsail.gcn.bfm.ll
  test/CodeGen/HSAIL/llvm.hsail.gcn.mqsad.ll
  test/CodeGen/HSAIL/llvm.hsail.gcn.msad.ll
  test/CodeGen/HSAIL/llvm.hsail.gcn.qsad.ll
  test/CodeGen/HSAIL/llvm.hsail.gcn.sadd.ll
  test/CodeGen/HSAIL/llvm.hsail.gcn.sadw.ll
  test/CodeGen/HSAIL/llvm.hsail.gridgroups.ll
  test/CodeGen/HSAIL/llvm.hsail.gridsize.ll
  test/CodeGen/HSAIL/llvm.hsail.groupbaseptr.ll
  test/CodeGen/HSAIL/llvm.hsail.imagefence.ll
  test/CodeGen/HSAIL/llvm.hsail.kernargbaseptr.ll
  test/CodeGen/HSAIL/llvm.hsail.laneid.ll
  test/CodeGen/HSAIL/llvm.hsail.lastbit.ll
  test/CodeGen/HSAIL/llvm.hsail.lerp.ll
  test/CodeGen/HSAIL/llvm.hsail.maxcuid.ll
  test/CodeGen/HSAIL/llvm.hsail.maxwaveid.ll
  test/CodeGen/HSAIL/llvm.hsail.memfence.ll
  test/CodeGen/HSAIL/llvm.hsail.ncos.ll
  test/CodeGen/HSAIL/llvm.hsail.nexp2.ll
  (84 more files...)

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9751.28070.patch
Type: text/x-patch
Size: 1803585 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150620/da73bdaf/attachment.bin>


More information about the llvm-commits mailing list