AMDGPU: Custom lower fexp
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 16 Aug 2018 17:07:52 +0000 (17:07 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 16 Aug 2018 17:07:52 +0000 (17:07 +0000)
commit7121bed210d9f568485c9b5b6854b629353fa0ea
tree89e0486ac8436096c1d1c843adb8f2b61e871e87
parent8b9e545477c64209aeeaa352d485cb9f317f1adb
AMDGPU: Custom lower fexp

This will allow the library to just use __builtin_expf directly
without expanding this itself. Note f64 still won't work because
there is no exp instruction for it.

llvm-svn: 339902
llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/test/CodeGen/AMDGPU/fexp.ll [new file with mode: 0644]