[all-commits] [llvm/llvm-project] f95d9c: [GlobalISel] Fix the stores of truncates -> wide s...
Amara Emerson via All-commits
all-commits at lists.llvm.org
Sat Oct 9 21:18:45 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f95d9c95bbf4cf662b9a181245fc6dcede39f590
https://github.com/llvm/llvm-project/commit/f95d9c95bbf4cf662b9a181245fc6dcede39f590
Author: Amara Emerson <amara at apple.com>
Date: 2021-10-09 (Sat, 09 Oct 2021)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/merge-stores-truncating.mir
Log Message:
-----------
[GlobalISel] Fix the stores of truncates -> wide store combine for non-evenly dividing type sizes.
If the wide store we'd generate is not a multiple of the memory type of the
narrow stores (e.g. s48 and s32), we'd assert. Fix that.
More information about the All-commits
mailing list