[all-commits] [llvm/llvm-project] 0564d0: [SDAG] Transfer gep nusw/nuw to SDAG

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Aug 7 00:39:03 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0564d0665b302d1c7861e03d2995612f46613a0f
      https://github.com/llvm/llvm-project/commit/0564d0665b302d1c7861e03d2995612f46613a0f
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-08-07 (Wed, 07 Aug 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/test/CodeGen/WebAssembly/offset.ll

  Log Message:
  -----------
  [SDAG] Transfer gep nusw/nuw to SDAG

The resulting add is nuw if either the gep was nuw or it was
nusw+nneg. Previously only inbounds+nneg was handled.

Test via wasm load offsets, which seems to most directly expose
these SDAG flags.



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