[all-commits] [llvm/llvm-project] 0b8528: [instcombine] Adjust style of MemIntrinsic code to...

Philip Reames via All-commits all-commits at lists.llvm.org
Tue May 6 13:20:14 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b8528e127d898a8bdb0d96c9afc7f3baa4bc3f5
      https://github.com/llvm/llvm-project/commit/0b8528e127d898a8bdb0d96c9afc7f3baa4bc3f5
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp

  Log Message:
  -----------
  [instcombine] Adjust style of MemIntrinsic code to be more idiomatic [nfc] (#138715)

Use an existing helper function. Remove the use of a local Changed
variable which doesn't seem to interact with surrounding transforms in
any meaningful way. (Both memcpy and memmove are MemTransfer
instructions, so switching from one to the other doesn't change
results.)

Posted for review mostly for a sanity check that I'm not missing
something with the logic around the Change flag.



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