[all-commits] [llvm/llvm-project] 7b8b7c: [GlobalISel] Translate all byte <-> pointer bitcas...
Pedro Lobo via All-commits
all-commits at lists.llvm.org
Fri Sep 25 09:46:05 PDT 2026
Branch: refs/heads/users/pedroclobo/globalisel-byte-ptr-bitcast
Home: https://github.com/llvm/llvm-project
Commit: 7b8b7c8dcb6a2fd4826b0326959348157382ff13
https://github.com/llvm/llvm-project/commit/7b8b7c8dcb6a2fd4826b0326959348157382ff13
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] Translate all byte <-> pointer bitcasts to G_INTTOPTR/G_PTRTOINT
Commit: 15bbe9322bc1cda43db7c7bd597af2cb3c66268c
https://github.com/llvm/llvm-project/commit/15bbe9322bc1cda43db7c7bd597af2cb3c66268c
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/457b51b71bcf...15bbe9322bc1
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