aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorMax Kazantsev <mkazantsev@azul.com>2023-03-14 20:26:29 +0700
committerMax Kazantsev <mkazantsev@azul.com>2023-03-14 20:55:17 +0700
commitd12af65d4626ac69faf8f56afd30971b8a2fc3b3 (patch)
treeb5bfc7bcaa12cd3f23fcccaa8c979f986ada4a00 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parent1f1fea6c380ef397f2a2416f14f8945d294a4682 (diff)
downloadllvm-d12af65d4626ac69faf8f56afd30971b8a2fc3b3.zip
llvm-d12af65d4626ac69faf8f56afd30971b8a2fc3b3.tar.gz
llvm-d12af65d4626ac69faf8f56afd30971b8a2fc3b3.tar.bz2
[TTI] Treat AND/OR with widenable conditions as free of cost
Because widenable conditions with eventually lower into a constant, such instructions as `and`, `or` etc. will also be optimized away. Treat them as free. This is an important thing to have if we want that guards represented as experimental.guard calls and in their explicit form (branch by `and` with widenable condition) have the same cost for unroller and other passes like this. Differential Revision: https://reviews.llvm.org/D146034 Reviewed By: nikic
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions