[llvm-exegesis] Explore LEA addressing modes.
authorClement Courbet <courbet@google.com>
Wed, 9 Oct 2019 08:49:13 +0000 (08:49 +0000)
committerClement Courbet <courbet@google.com>
Wed, 9 Oct 2019 08:49:13 +0000 (08:49 +0000)
commitc3a7fb7599316d57bc197fe566bf2bd3b65cb330
tree3b88d8b38bf5f3686c8d8a549d617fa722bfcad3
parent4e969da33e113dffc1dfcf5c5e3ef97e3b594161
[llvm-exegesis] Explore LEA addressing modes.

Summary:
This will help for PR32326.

This shows the well-known issue with `RBP` and `R13` as base registers.

Reviewers: gchatelet

Subscribers: tschuett, llvm-commits, RKSimon, andreadb

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D68646

llvm-svn: 374146
llvm/test/tools/llvm-exegesis/X86/latency-LEA64r.s [new file with mode: 0644]
llvm/test/tools/llvm-exegesis/X86/uops-LEA64r.s [new file with mode: 0644]
llvm/tools/llvm-exegesis/lib/RegisterAliasing.h
llvm/tools/llvm-exegesis/lib/Uops.cpp
llvm/tools/llvm-exegesis/lib/X86/Target.cpp