R600: Handle fnearbyint
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 18 Jun 2014 22:03:45 +0000 (22:03 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 18 Jun 2014 22:03:45 +0000 (22:03 +0000)
commitce09bda96ee00a1024952faf85e3fa01e0d6bc72
treef631281d32aa381a52ff1664d69520f82b566ce6
parentf286d63757ae5d16f8211227a435e6ad4faa2c35
R600: Handle fnearbyint

The difference from rint isn't really relevant here,
so treat them as equivalent. OpenCL doesn't have nearbyint,
so this is sort of pointless other than for completeness.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211229 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPUISelLowering.cpp
lib/Target/R600/AMDGPUISelLowering.h
test/CodeGen/R600/fnearbyint.ll [new file with mode: 0644]