[all-commits] [llvm/llvm-project] a969bd: [InstCombine] Remove unnecessary addres space chec...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Jun 21 11:14:46 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a969bdc56f66a3c059f6d70e574d11fda8354e2a
      https://github.com/llvm/llvm-project/commit/a969bdc56f66a3c059f6d70e574d11fda8354e2a
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-06-21 (Mon, 21 Jun 2021)

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

  Log Message:
  -----------
  [InstCombine] Remove unnecessary addres space check (NFC)

It's not possible to bitcast between different address spaces,
and this is ensured by the IR verifier. As such, this bitcast to
addrspacecast canonicalization can never be hit.




More information about the All-commits mailing list