aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGenPrepare.cpp
diff options
context:
space:
mode:
authorSushant Gokhale <sgokhale@nvidia.com>2025-03-09 22:26:39 -0700
committerGitHub <noreply@github.com>2025-03-09 22:26:39 -0700
commitc4808741e89df29dcd06c7be2784824c82f34e46 (patch)
tree88ab23e8186f4e43c6a465946543721adbfe33b4 /llvm/lib/CodeGen/CodeGenPrepare.cpp
parent58fc4b13cb5ff7e877c52c11f71328ed12e6a89c (diff)
downloadllvm-c4808741e89df29dcd06c7be2784824c82f34e46.zip
llvm-c4808741e89df29dcd06c7be2784824c82f34e46.tar.gz
llvm-c4808741e89df29dcd06c7be2784824c82f34e46.tar.bz2
[AArch64][CostModel] Alter sdiv/srem cost where the divisor is constant (#123552)
This patch revises the cost model for sdiv/srem and draws its inspiration from the udiv/urem patch #122236 The typical codegen for the different scenarios has been mentioned as notes/comments in the code itself( this is done owing to lot of scenarios such that it would be difficult to mention them here in the patch description).
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions