diff options
author | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2018-03-05 19:27:16 +0000 |
---|---|---|
committer | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2018-03-05 19:27:16 +0000 |
commit | 6cc31ca81446b3fc61e02e2c231436978746decd (patch) | |
tree | 0b0f5df8546c7ed7475b83d4b1e28ade79af0cb5 /llvm/lib/Support/CommandLine.cpp | |
parent | 77ae82b84a451f1a3af878da1a4efb5fb0a043b6 (diff) | |
download | bcm5719-llvm-6cc31ca81446b3fc61e02e2c231436978746decd.tar.gz bcm5719-llvm-6cc31ca81446b3fc61e02e2c231436978746decd.zip |
[PowerPC] Do not emit record-form rotates when record-form andi suffices
Up until Power9, the performance profile for rlwinm., rldicl. and andi. looked
more or less equivalent. However with Power9, the rotates are still 2-way
cracked whereas the and-immediate is not.
This patch just ensures that we don't emit record-form rotates when an andi.
is adequate.
As first pointed out by Carrot in https://bugs.llvm.org/show_bug.cgi?id=30833
(this patch is a fix for that PR).
Differential Revision: https://reviews.llvm.org/D43977
llvm-svn: 326736
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions