[all-commits] [llvm/llvm-project] 6d033a: [InstCombine] Avoid invalid bitcast across address...
Michal Paszkowski via All-commits
all-commits at lists.llvm.org
Sun Feb 15 15:36:04 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6d033abb71d69e387595e7f7480ca45992e80181
https://github.com/llvm/llvm-project/commit/6d033abb71d69e387595e7f7480ca45992e80181
Author: Michal Paszkowski <michal at michalpaszkowski.com>
Date: 2026-02-15 (Sun, 15 Feb 2026)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
A llvm/test/Transforms/InstCombine/phi-int2ptr-different-addrspace.ll
Log Message:
-----------
[InstCombine] Avoid invalid bitcast across address spaces in foldIntegerTypedPHI (#181064)
Only use a PtrToInt's source pointer as an available pointer value when
its pointer type exactly matches the inttoptr target type. This prevents
creating an invalid bitcast between differing address spaces during
foldIntegerTypedPHI.
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