[all-commits] [llvm/llvm-project] 1d3329: [Thumb] Resolve FIXME: Transform "(and (shl x, c2)...
AtariDreams via All-commits
all-commits at lists.llvm.org
Sun May 26 11:58:54 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1d3329c2e82166be9b60921a8a571ed3c279c028
https://github.com/llvm/llvm-project/commit/1d3329c2e82166be9b60921a8a571ed3c279c028
Author: AtariDreams <gfunni234 at gmail.com>
Date: 2024-05-26 (Sun, 26 May 2024)
Changed paths:
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/test/CodeGen/Thumb/shift-and.ll
Log Message:
-----------
[Thumb] Resolve FIXME: Transform "(and (shl x, c2), c1)" into "(shl (and x, c1>>c2), c2)" (#82120)
Transform "(and (shl x, c2), c1)" into "(shl (and x, c1>>c2), c2)" if
"c1 >> c2" is a cheaper immediate than "c1" using
HasLowerConstantMaterializationCost
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list