[PATCH][Interpreter] Add missing FP intrinsic lowering.
authorJosh Klontz <josh.klontz@gmail.com>
Sat, 30 Aug 2014 18:33:35 +0000 (18:33 +0000)
committerJosh Klontz <josh.klontz@gmail.com>
Sat, 30 Aug 2014 18:33:35 +0000 (18:33 +0000)
commit6e153ad30ad22a99870430bde8234731f2408d22
tree8153b0272fe3542dcc79c824917e6b87ee5c8535
parentd421075d0c2af980382960f3a91289edaf5397ca
[PATCH][Interpreter] Add missing FP intrinsic lowering.

Summary:
This extends the work done in [1], adding missing intrinsic lowering for floor, trunc, round and copysign.

[1] http://comments.gmane.org/gmane.comp.compilers.llvm.cvs/199372

Test Plan: Extended `test/ExecutionEngine/Interpreter/intrinsics.ll` to test the additional missing intrinsics. All tests pass.

Reviewers: dexonsmith

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D5120

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216827 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/IntrinsicLowering.cpp
test/ExecutionEngine/Interpreter/intrinsics.ll