Simplify usage of setFPAttrs.
authorJay Foad <jay.foad@gmail.com>
Mon, 21 Oct 2019 11:32:41 +0000 (11:32 +0000)
committerJay Foad <jay.foad@gmail.com>
Mon, 21 Oct 2019 11:32:41 +0000 (11:32 +0000)
commit91d68c5d934da0b7af61542ad09a12f7a370770f
tree7c29f4703ffef8bb0b3937e526db826f50e8e7bb
parentcc870b19ca17467315a5da769d680c24f3153bc8
Simplify usage of setFPAttrs.

In some cases using the return value of setFPAttrs simplifies the code.
In other cases it complicates the code with ugly casts, so stop doing
it. NFC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@375409 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/IRBuilder.h