[all-commits] [llvm/llvm-project] c42659: [SimplifyCFG] Add tests for hoisting/sinking callb...

goldsteinn via All-commits all-commits at lists.llvm.org
Tue Oct 1 16:27:37 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c42659417faf86aa1ed3a34306764192fcdec05b
      https://github.com/llvm/llvm-project/commit/c42659417faf86aa1ed3a34306764192fcdec05b
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2024-10-01 (Tue, 01 Oct 2024)

  Changed paths:
    A llvm/test/Transforms/SimplifyCFG/hoist-cb-diff-attrs.ll
    A llvm/test/Transforms/SimplifyCFG/sink-cb-diff-attrs.ll

  Log Message:
  -----------
  [SimplifyCFG] Add tests for hoisting/sinking callbases with differing attrs; NFC


  Commit: 4d4beeb43cfdf5c858ced68b541a1e9ef79f4907
      https://github.com/llvm/llvm-project/commit/4d4beeb43cfdf5c858ced68b541a1e9ef79f4907
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2024-10-01 (Tue, 01 Oct 2024)

  Changed paths:
    M llvm/include/llvm/IR/InstrTypes.h
    M llvm/include/llvm/IR/Instruction.h
    M llvm/lib/IR/Instruction.cpp
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    M llvm/test/Transforms/SimplifyCFG/hoist-cb-diff-attrs.ll
    M llvm/test/Transforms/SimplifyCFG/sink-cb-diff-attrs.ll

  Log Message:
  -----------
  [SimplifyCFG] Supporting hoisting/sinking callbases with differing attrs

Some (many) attributes can safely be dropped to enable sinking. For
example removing `nonnull` on a return/param can't affect correctness.

Closes #109472


Compare: https://github.com/llvm/llvm-project/compare/948326163c96...4d4beeb43cfd

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list