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
Differential D145863
[X86] Use llvm::Align for passing the alignment pengfei on Mar 12 2023, 1:28 AM. Authored by
Details
This should be a typo in emitConstantSizeRepmov. Both its caller and Fixes #61348
Diff Detail
Event Timeline
Comment Actions LGTM - but please add the PR61348 test case as well
Comment Actions Convert one more uint64_t Align into Align Alignment. I hesitate to add PR61348 test case for 3 reasons,
Let me know if you still think we should add the test case. Comment Actions We have enough examples of tests with `REQUIRES: asserts``` in llvm-project\llvm\test\CodeGen\X86 that I don't think its unusual |
Probably worth converting this to Align Alignment as well?