[all-commits] [llvm/llvm-project] e20f0f: [WasmEHPrepare] Explicitly create inbounds GEP (NFCI)

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed May 29 07:14:03 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e20f0fe29f714a22679214b499744735d528fc1a
      https://github.com/llvm/llvm-project/commit/e20f0fe29f714a22679214b499744735d528fc1a
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/lib/CodeGen/WasmEHPrepare.cpp

  Log Message:
  -----------
  [WasmEHPrepare] Explicitly create inbounds GEP (NFCI)

These are known to be inbounds, create them as such. NFCI because
constant expression construction currently already infers this.

Also drop the unnecessary zero-index GEP: This is equivalent to
the pointer itself nowadays.



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