OSDN Git Service

[llvm-exegesis][NFC] Simplify code.
authorClement Courbet <courbet@google.com>
Fri, 24 Jan 2020 10:42:27 +0000 (11:42 +0100)
committerClement Courbet <courbet@google.com>
Fri, 24 Jan 2020 11:45:20 +0000 (12:45 +0100)
commit2ee218f3653fcfd135fc5087a698424f90a9a499
treea710e4905e92433ad9c8ed282a8d66f1294e21f4
parentba545c814bc19c3b1ec9ce88a7f13575e0e4ce1d
[llvm-exegesis][NFC] Simplify code.

Summary:
What we're redoing already exists in the X86 backend, it's called
`X86II::getOperandBias`.

Reviewers: gchatelet

Subscribers: tschuett, mstojanovic, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73340
llvm/tools/llvm-exegesis/lib/X86/Target.cpp