aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2019-12-04 10:49:24 +0000
committerFlorian Hahn <flo@fhahn.com>2019-12-04 11:09:03 +0000
commit93c8235702cb47d078d6e585a4f6446cba72c6fa (patch)
treeac0116358d6cf358f1fb213a7cc4a38e1f291c0e /llvm/lib/Support/CommandLine.cpp
parent17e537bc580b3659da1e0d6c536916d96818428d (diff)
downloadllvm-93c8235702cb47d078d6e585a4f6446cba72c6fa.zip
llvm-93c8235702cb47d078d6e585a4f6446cba72c6fa.tar.gz
llvm-93c8235702cb47d078d6e585a4f6446cba72c6fa.tar.bz2
[AArch64TTI] Compute imm materialization cost for AArch64 intrinsics
Currently, getIntImmCost returns TCC_Free for almost all intrinsics. For most AArch64 specific intrinsics however, it looks like integer constants cannot be folded into most of them (at least the ones I checked). Unless we know that we can fold integer operands with the intrinsic, we handle more cases correctly by returning the cost to materialize the immediate than return TCC_Free. Reviewers: SjoerdMeijer, dmgreen, t.p.northover, ributzka Reviewed By: SjoerdMeijer Differential Revision: https://reviews.llvm.org/D70669
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions