[all-commits] [llvm/llvm-project] 6d6983: [IRBuilder] Migrate fneg to fold infrastructure

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Jul 13 06:30:09 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6d6983ced944a81bc95f99939d3ebac3cc69d666
      https://github.com/llvm/llvm-project/commit/6d6983ced944a81bc95f99939d3ebac3cc69d666
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-07-13 (Wed, 13 Jul 2022)

  Changed paths:
    M llvm/include/llvm/Analysis/InstSimplifyFolder.h
    M llvm/include/llvm/Analysis/TargetFolder.h
    M llvm/include/llvm/IR/ConstantFolder.h
    M llvm/include/llvm/IR/IRBuilder.h
    M llvm/include/llvm/IR/IRBuilderFolder.h
    M llvm/include/llvm/IR/NoFolder.h

  Log Message:
  -----------
  [IRBuilder] Migrate fneg to fold infrastructure

Make use of a single FoldUnOpFMF() API, though in practice FNeg
is the only unary operation that exists.

This is likely NFC in practice, because users of InstSimplifyFolder
don't create fneg.




More information about the All-commits mailing list