[llvm-bugs] [Bug 32326] New: [X86] Better scheduling/selection of the LEA instruction
llvm-bugs at lists.llvm.org
Fri Mar 17 07:49:58 PDT 2017
Bug ID: 32326
Summary: [X86] Better scheduling/selection of the LEA
OS: Windows NT
Component: Backend: X86
Assignee: unassignedbugs at nondot.org
Reporter: llvm-dev at redking.me.uk
CC: andrew.v.tischenko at gmail.com,
llvm-bugs at lists.llvm.org, spatel+llvm at rotateright.com
Some basic forms of the LEA instruction (2 source operands, no scale etc.) can
typically be performed on the cpu's generic ALUs whilst the complex forms (3
source operands, scale + offset etc.) can only be performed on a cpus's AGUs.
We need to better tag the different LEA instructions so that we can
discriminate in the scheduler model and compare them against other memory
We should then be able to improve LEA pattern selection in the machine combiner
(balance ALU/AGU usage, use multi stage LEAs for simple integer multiplies
[Bug 32325] [META][X86] Improve implementation and use of X86 scheduler models
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs