[all-commits] [llvm/llvm-project] 6d63bf: [IR] Use UnaryOperator::CreateFNeg in NoFolder::cr...

topperc via All-commits all-commits at lists.llvm.org
Mon Oct 28 11:08:51 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6d63bf919489608cb1c687046f79facfe23240d4
      https://github.com/llvm/llvm-project/commit/6d63bf919489608cb1c687046f79facfe23240d4
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2019-10-28 (Mon, 28 Oct 2019)

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

  Log Message:
  -----------
  [IR] Use UnaryOperator::CreateFNeg in NoFolder::createFNeg

If IRBuilder is constructed using the NoFolder constant folder, we should use the Unary FNeg to match the non-constant part of IRBuilder.

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




More information about the All-commits mailing list