[PATCH] D24300: [NVPTX] Implement llvm.fabs.f32, llvm.max.f32, etc.
Justin Lebar via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 7 10:06:59 PDT 2016
jlebar created this revision.
jlebar added a reviewer: majnemer.
jlebar added subscribers: tra, jholewinski, llvm-commits.
Previously these only worked via NVPTX-specific intrinsics.
This change will allow us to convert these target-specific intrinsics
into the general LLVM versions, allowing existing LLVM passes to reason
about their behavior.
It also gets us some minor codegen improvements as-is, from situations
where we canonicalize code into one of these llvm intrinsics.
https://reviews.llvm.org/D24300
Files:
llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
llvm/test/CodeGen/NVPTX/bug22322.ll
llvm/test/CodeGen/NVPTX/math-intrins.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24300.70556.patch
Type: text/x-patch
Size: 16429 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160907/40488611/attachment.bin>
More information about the llvm-commits
mailing list