[all-commits] [llvm/llvm-project] 79941c: [X86] lea-2.ll - add test showing failure to fold ...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Mon Sep 11 02:18:02 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 79941c3a0df9e1c1ef95db35cfbe28a774c89278
https://github.com/llvm/llvm-project/commit/79941c3a0df9e1c1ef95db35cfbe28a774c89278
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2023-09-11 (Mon, 11 Sep 2023)
Changed paths:
M llvm/test/CodeGen/X86/lea-2.ll
Log Message:
-----------
[X86] lea-2.ll - add test showing failure to fold shl(zext(or(x,c1)),c2) 'addlike' into LEA instruction
Commit: a8cef6b58e2d41f04ed4fa63c3f628eac1a28925
https://github.com/llvm/llvm-project/commit/a8cef6b58e2d41f04ed4fa63c3f628eac1a28925
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2023-09-11 (Mon, 11 Sep 2023)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/lea-2.ll
M llvm/test/CodeGen/X86/select_const.ll
Log Message:
-----------
[X86] promoteExtBeforeAdd - add support for or/xor 'addlike' patterns
Fold zext(addlike(x, C)) --> add(zext(x), C_zext) if its likely to help us create LEA instructions
Addresses some regressions exposed by D155472
Compare: https://github.com/llvm/llvm-project/compare/56396b25f179...a8cef6b58e2d
More information about the All-commits
mailing list