diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-05-05 12:49:14 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-05-05 12:49:14 +0000 |
commit | e31f31e5c0b335c161a83bbdb0c9f884248b3ab4 (patch) | |
tree | 03a92932ea3570ba397516db490386865c3fc4d0 /llvm/lib/Support/Process.cpp | |
parent | a25a61b9e80eb84da5b823128a5c873bdb5e4201 (diff) | |
download | llvm-e31f31e5c0b335c161a83bbdb0c9f884248b3ab4.zip llvm-e31f31e5c0b335c161a83bbdb0c9f884248b3ab4.tar.gz llvm-e31f31e5c0b335c161a83bbdb0c9f884248b3ab4.tar.bz2 |
Add a new target hook "predictableSelectIsExpensive".
This will be used to determine whether it's profitable to turn a select into a
branch when the branch is likely to be predicted.
Currently enabled for everything but Atom on X86 and Cortex-A9 devices on ARM.
I'm not entirely happy with the name of this flag, suggestions welcome ;)
llvm-svn: 156233
Diffstat (limited to 'llvm/lib/Support/Process.cpp')
0 files changed, 0 insertions, 0 deletions