aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorAllen <zhongyunde@huawei.com>2024-07-12 09:06:42 +0800
committerGitHub <noreply@github.com>2024-07-12 09:06:42 +0800
commit1bafe77d773e6cb32243fabbef2c71b4516896fb (patch)
treedb7d2f0513547dfe050eea5b5f312b95a4610280 /clang/lib/CodeGen/CodeGenModule.h
parent941f794e492bddf82b01dd4b0cb3475a67dc3b1f (diff)
downloadllvm-1bafe77d773e6cb32243fabbef2c71b4516896fb.zip
llvm-1bafe77d773e6cb32243fabbef2c71b4516896fb.tar.gz
llvm-1bafe77d773e6cb32243fabbef2c71b4516896fb.tar.bz2
[AArch64] Improve the codegen for sdiv 2 (#98324)
Same as X86, , if X's size is BitWidth, then X sdiv 2 can be expressived as ``` X += X >> (BitWidth - 1) X = X >> 1 ``` Fix https://github.com/llvm/llvm-project/issues/97884
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions