[all-commits] [llvm/llvm-project] 7ff0b9: [X86] Use llvm::Align for passing the alignment
Phoebe Wang via All-commits
all-commits at lists.llvm.org
Mon Mar 13 09:06:38 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7ff0b9735dc5803b2820010e05753d02adb8e654
https://github.com/llvm/llvm-project/commit/7ff0b9735dc5803b2820010e05753d02adb8e654
Author: Phoebe Wang <phoebe.wang at intel.com>
Date: 2023-03-14 (Tue, 14 Mar 2023)
Changed paths:
M llvm/lib/Target/X86/X86SelectionDAGInfo.cpp
A llvm/test/CodeGen/X86/pr61348.ll
Log Message:
-----------
[X86] Use llvm::Align for passing the alignment
This should be a typo in `emitConstantSizeRepmov`. Both its caller and
callee store the alignment in a 64-bit variables, no reason to truncate
it to 32-bit. It results in alignment turns into 0 when larger than
0x100000000.
Fixes #61348
Reviewed By: RKSimon
Differential Revision: https://reviews.llvm.org/D145863
More information about the All-commits
mailing list