[all-commits] [llvm/llvm-project] 2e5d81: [GlobalISel] Handle vector byte to pointer bitcast...

Pedro Lobo via All-commits all-commits at lists.llvm.org
Fri Sep 25 09:09:48 PDT 2026


  Branch: refs/heads/users/pedroclobo/globalisel-byte-ptr-bitcast
  Home:   https://github.com/llvm/llvm-project
  Commit: 2e5d81e1f1be2f919c7d60467da043b34ca04e2a
      https://github.com/llvm/llvm-project/commit/2e5d81e1f1be2f919c7d60467da043b34ca04e2a
  Author: Pedro Lobo <pedro.lobo at tecnico.ulisboa.pt>
  Date:   2026-09-25 (Fri, 25 Sep 2026)

  Changed paths:
    M llvm/docs/GlobalISel/IRTranslator.md
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
    M llvm/test/CodeGen/Generic/GlobalISel/irtranslator-byte-type.ll

  Log Message:
  -----------
  [GlobalISel] Handle vector byte to pointer bitcasts in IRTranslator


  Commit: 457b51b71bcf4b2e20033afdf2cbaae34a25bb0e
      https://github.com/llvm/llvm-project/commit/457b51b71bcf4b2e20033afdf2cbaae34a25bb0e
  Author: Pedro Lobo <pedro.lobo at tecnico.ulisboa.pt>
  Date:   2026-09-25 (Fri, 25 Sep 2026)

  Changed paths:
    M llvm/lib/IR/IRBuilder.cpp
    R llvm/test/CodeGen/AMDGPU/promote-alloca-byte-ptr-cast.ll
    M llvm/unittests/IR/IRBuilderTest.cpp

  Log Message:
  -----------
  Revert "[IRBuilder] Handle byte types in CreateBitPreservingCastChain (#209557)"

This reverts commit 65e2a60f238e1792487a94232f6dfe2e63c4ea9f.

Byte <-> pointer bitcasts are valid IR and preserve provenance, which the
inttoptr/ptrtoint round trip drops. The MachineVerifier failure it worked
around is fixed in the IRTranslator by the previous commit.


Compare: https://github.com/llvm/llvm-project/compare/ff6d3a4f02a9...457b51b71bcf

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