[all-commits] [llvm/llvm-project] 9010f6: Simplify usage of setFPAttrs.

jayfoad via All-commits all-commits at lists.llvm.org
Mon Oct 21 04:31:20 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9010f6ad2fcaff3ae72375d51021bd95218d9091
      https://github.com/llvm/llvm-project/commit/9010f6ad2fcaff3ae72375d51021bd95218d9091
  Author: Jay Foad <jay.foad at gmail.com>
  Date:   2019-10-21 (Mon, 21 Oct 2019)

  Changed paths:
    M llvm/include/llvm/IR/IRBuilder.h

  Log Message:
  -----------
  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.

llvm-svn: 375409




More information about the All-commits mailing list