[all-commits] [llvm/llvm-project] 302e74: [X86] Improve optimizeCompareInstr for signed comp...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Wed Apr 7 06:29:34 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 302e7480655b0d1c1a3a629b4ef446bf77dcb01a
https://github.com/llvm/llvm-project/commit/302e7480655b0d1c1a3a629b4ef446bf77dcb01a
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2021-04-07 (Wed, 07 Apr 2021)
Changed paths:
M llvm/lib/Target/X86/X86InstrInfo.cpp
M llvm/test/CodeGen/X86/and-with-overflow.ll
M llvm/test/CodeGen/X86/or-with-overflow.ll
M llvm/test/CodeGen/X86/xor-with-overflow.ll
Log Message:
-----------
[X86] Improve optimizeCompareInstr for signed comparisons after AND/OR/XOR instructions
Extend D94856 to handle 'and', 'or' and 'xor' instructions as well
We still fail on many i8/i16 cases as the test and the logic-op are performed on different widths
More information about the All-commits
mailing list