[all-commits] [llvm/llvm-project] 6523e2: [X86] SimplifyDemandedBitsForTargetNode - improve ...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Fri Apr 14 04:04:21 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6523e2f4f930a3e1b9c02d7c45b1859dba098f16
https://github.com/llvm/llvm-project/commit/6523e2f4f930a3e1b9c02d7c45b1859dba098f16
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2023-04-14 (Fri, 14 Apr 2023)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/combine-testpd.ll
M llvm/test/CodeGen/X86/combine-testps.ll
Log Message:
-----------
[X86] SimplifyDemandedBitsForTargetNode - improve TESTPS/TESTPD handling for duplicated operands
We often repeat the vector operand in TESTPS(X,X)/TESTPD(X,X) for anyof comparisons - ensure we still only demand the sign bits when the TESTP is the only user of that operand
More information about the All-commits
mailing list