[all-commits] [llvm/llvm-project] aaeb95: [DebugInfo] Avoid ptrtoint expression in generic test
Nikita Popov via All-commits
all-commits at lists.llvm.org
Mon Jul 25 02:20:56 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: aaeb951b2763ecd07e16875983dea19d5dee6b95
https://github.com/llvm/llvm-project/commit/aaeb951b2763ecd07e16875983dea19d5dee6b95
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-07-25 (Mon, 25 Jul 2022)
Changed paths:
M llvm/test/DebugInfo/Generic/inheritance.ll
Log Message:
-----------
[DebugInfo] Avoid ptrtoint expression in generic test
After D130366 the ptrtoint expression this used results in an
error on 32-bit targets (the IR was already invalid previously,
but only produced the error with -filetype=obj).
Tweak the IR so it is correct for both 32-bit and 64-bit targets,
and can thus continue working as a generic test.
More information about the All-commits
mailing list