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)
commit692bd5ec2f9f61d21b649a091e7186b081a073d4
treea6ebfeedac750d4a50af3a8a1335847d4b252826
parent51b8e7b2e73cff4af2cc9bdebd5e3dfc5880d749
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.

llvm-svn: 211229
llvm/lib/Target/R600/AMDGPUISelLowering.cpp
llvm/lib/Target/R600/AMDGPUISelLowering.h
llvm/test/CodeGen/R600/fnearbyint.ll [new file with mode: 0644]