[all-commits] [llvm/llvm-project] 77ddcf: [SystemZ] Fix bitwidth problem in FindReplicatedIm...
Jonas Paulsson via All-commits
all-commits at lists.llvm.org
Mon Nov 11 13:16:42 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 77ddcf7cbfb135f09c75c1d611b241f6e851df86
https://github.com/llvm/llvm-project/commit/77ddcf7cbfb135f09c75c1d611b241f6e851df86
Author: Jonas Paulsson <paulson1 at linux.ibm.com>
Date: 2024-11-11 (Mon, 11 Nov 2024)
Changed paths:
M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
A llvm/test/CodeGen/SystemZ/dag-combine-07.ll
Log Message:
-----------
[SystemZ] Fix bitwidth problem in FindReplicatedImm(). (#115383)
A test case emerged with an i32 truncating store of an i64 constant
operand, where the i64 constant did not fit in 32 bits, which caused
FindReplicatedImm() to crash.
Make sure to truncate the APInt in these cases.
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