[all-commits] [llvm/llvm-project] 80d57d: [Attributor] Add remarks when UB is optimized to u...

Jon Roelofs via All-commits all-commits at lists.llvm.org
Thu Jul 9 15:38:35 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 80d57d10969b7d1cbf20a28470c200d875b89e55
      https://github.com/llvm/llvm-project/commit/80d57d10969b7d1cbf20a28470c200d875b89e55
  Author: Jon Roelofs <jonathan_roelofs at apple.com>
  Date:   2026-07-09 (Thu, 09 Jul 2026)

  Changed paths:
    M llvm/lib/Transforms/IPO/Attributor.cpp
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    M llvm/test/Transforms/Attributor/undefined_behavior.ll

  Log Message:
  -----------
  [Attributor] Add remarks when UB is optimized to unreachable (#207864)

These often bite LTO users in surprising and hard-to-debug ways. Adding
remarks to give at least a small bread-crumb as to 'why' we're
optimizing out chunks of code.



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