[all-commits] [llvm/llvm-project] 1e36d9: [LowerMemIntrinsics] Avoid udiv/urem when type siz...
Pierre van Houtryve via All-commits
all-commits at lists.llvm.org
Mon Feb 12 01:01:33 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1e36d92b705b7977c867dc3afa90da76dee6effd
https://github.com/llvm/llvm-project/commit/1e36d92b705b7977c867dc3afa90da76dee6effd
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M llvm/lib/Transforms/Utils/LowerMemIntrinsics.cpp
M llvm/test/CodeGen/AMDGPU/lower-mem-intrinsics.ll
M llvm/test/CodeGen/AMDGPU/memcpy-crash-issue63986.ll
Log Message:
-----------
[LowerMemIntrinsics] Avoid udiv/urem when type size is a power of 2 (#81238)
See #64620 - does not fix the issue but improves the generated code a
bit.
More information about the All-commits
mailing list