[all-commits] [llvm/llvm-project] 9f9424: [CostModel][X86] getArithmeticInstrCost - use cost...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Fri Aug 26 06:29:08 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9f94240fe1bde28e3d275fade910ddde87134f44
https://github.com/llvm/llvm-project/commit/9f94240fe1bde28e3d275fade910ddde87134f44
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2022-08-26 (Fri, 26 Aug 2022)
Changed paths:
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
Log Message:
-----------
[CostModel][X86] getArithmeticInstrCost - use cost kind specific look up tables
Building on D132216, use CostKindTblEntry cost tables to simplify the transition to supporting cost kinds other than recip-throughput
Adding full cost kinds support is going to take a while, but by converting to CostKindTblEntry first it will make it easier to support the costs on a per-ISD basis.
Commit: 488861d0e3761bc2ecaae7373580020665c778ba
https://github.com/llvm/llvm-project/commit/488861d0e3761bc2ecaae7373580020665c778ba
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2022-08-26 (Fri, 26 Aug 2022)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/combine-udiv.ll
M llvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-5.ll
Log Message:
-----------
[X86] Add SimplifyMultipleUseDemandedBitsForTargetNode X86ISD::ANDNP handling
See if we can remove X86ISD::ANDNP nodes by checking the state of the knownbits of the demanded elements.
This is equivalent to the generic ISD::AND handling, but flips the bits of the LHS operand to account for ANDNP.
Differential Revision: https://reviews.llvm.org/D128216
Compare: https://github.com/llvm/llvm-project/compare/59656c049222...488861d0e376
More information about the All-commits
mailing list