[PATCH] R600: Add intrinsics for math helper instructions

Matt Arsenault Matthew.Arsenault at amd.com
Mon Jun 16 17:28:14 PDT 2014


These will be used in the implementations of custom lowering of and library implementations of various math functions, so it's useful to expose these as builtins.

http://reviews.llvm.org/D4168

Files:
  include/llvm/IR/IntrinsicsR600.td
  lib/Target/R600/AMDGPUISelLowering.cpp
  lib/Target/R600/AMDGPUISelLowering.h
  lib/Target/R600/AMDGPUInstrInfo.td
  lib/Target/R600/AMDGPUInstructions.td
  lib/Target/R600/AMDGPUIntrinsics.td
  lib/Target/R600/SIInsertWaits.cpp
  lib/Target/R600/SIInstructions.td
  lib/Transforms/InstCombine/InstCombineCalls.cpp
  test/CodeGen/R600/llvm.AMDGPU.div_fixup.ll
  test/CodeGen/R600/llvm.AMDGPU.div_fmas.ll
  test/CodeGen/R600/llvm.AMDGPU.div_scale.ll
  test/CodeGen/R600/llvm.AMDGPU.rcp.ll
  test/CodeGen/R600/llvm.AMDGPU.trig_preop.ll
  test/Transforms/InstCombine/r600-intrinsics.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4168.10472.patch
Type: text/x-patch
Size: 21685 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140617/081a6ed7/attachment.bin>


More information about the llvm-commits mailing list