[all-commits] [llvm/llvm-project] 2554a8: [CodeGenPrepare][test] Add test for sinking of tru...

Alex Bradbury via All-commits all-commits at lists.llvm.org
Thu Apr 25 07:03:32 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2554a85c0375b4c1c7c4f461811babef67e1a403
      https://github.com/llvm/llvm-project/commit/2554a85c0375b4c1c7c4f461811babef67e1a403
  Author: Alex Bradbury <asb at igalia.com>
  Date:   2024-04-25 (Thu, 25 Apr 2024)

  Changed paths:
    A llvm/test/Transforms/CodeGenPrepare/RISCV/noop-copy-sink.ll

  Log Message:
  -----------
  [CodeGenPrepare][test] Add test for sinking of truncs demonstrating nsw/nuw are dropped

SinkCast creates a new cast with the same type and inputs, which drops
the nsw/nuw flags.

Reviewed as part of <https://github.com/llvm/llvm-project/pull/89904>
but split out so I can land the test separately.



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