HomePhabricator

[IRBuilder] Update IRBuilder::CreateFNeg(...) to return a UnaryOperator

Authored by cameron.mcinally on Oct 9 2019, 2:52 PM.

Description

[IRBuilder] Update IRBuilder::CreateFNeg(...) to return a UnaryOperator

Also update Clang to call Builder.CreateFNeg(...) for UnaryMinus.

Differential Revision: https://reviews.llvm.org/D61675

llvm-svn: 374240