Refactor LowerFABS and LowerFNEG into one function (x86) (NFC)
authorSanjay Patel <spatel@rotateright.com>
Tue, 2 Sep 2014 20:24:47 +0000 (20:24 +0000)
committerSanjay Patel <spatel@rotateright.com>
Tue, 2 Sep 2014 20:24:47 +0000 (20:24 +0000)
commit96b466c066526a40640eba6d496bd1c7945aec33
tree742e993b1f2f37f7c5ba9efd0d62c408dc46c88c
parentef02f8eb0b0a4430afdcbc9c0585c166337e6beb
Refactor LowerFABS and LowerFNEG into one function (x86) (NFC)

We duplicate ~30 lines of code to lower FABS and FNEG for x86, so this patch combines them into one function.
No functional change intended, so no additional test cases. Test-suite behavior is unchanged.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216942 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp