diff options
author | Tobias Stadler <mail@stadler-tobias.de> | 2025-04-04 10:16:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-04 10:16:40 +0100 |
commit | 1302610f03a1f10c2eea4c66445ccba4c52887b6 (patch) | |
tree | e9d1eb29a1e5e172d758e0d19203fed16fa2e3f7 /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp | |
parent | c154d66339ed6e3c236849e4999cf0dc6ddec777 (diff) | |
download | llvm-1302610f03a1f10c2eea4c66445ccba4c52887b6.zip llvm-1302610f03a1f10c2eea4c66445ccba4c52887b6.tar.gz llvm-1302610f03a1f10c2eea4c66445ccba4c52887b6.tar.bz2 |
[MergeFunc] Fix crash caused by bitcasting ArrayType (#133259)
createCast in MergeFunctions did not consider ArrayTypes, which results
in the creation of a bitcast between ArrayTypes in the thunk function,
leading to an assertion failure in the provided test case.
The version of createCast in GlobalMergeFunctions does handle
ArrayTypes, so this common code has been factored out into the
IRBuilder.
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
0 files changed, 0 insertions, 0 deletions