aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/CodeMetrics.cpp
diff options
context:
space:
mode:
authorTres Popp <tpopp@google.com>2021-01-18 23:40:22 +0100
committerTres Popp <tpopp@google.com>2021-01-19 10:31:48 +0100
commita003f26539cf4db744655e76c41f4c4a8913f116 (patch)
tree2a57e775dd5c8240974034e5137610b3a66c1c99 /llvm/lib/Analysis/CodeMetrics.cpp
parentfb5b12e42ef2255aaf6ab43cb426955257302531 (diff)
downloadllvm-a003f26539cf4db744655e76c41f4c4a8913f116.zip
llvm-a003f26539cf4db744655e76c41f4c4a8913f116.tar.gz
llvm-a003f26539cf4db744655e76c41f4c4a8913f116.tar.bz2
[llvm] Prevent infinite loop in InstCombine of select statements
This fixes an issue where the RHS and LHS the comparison operation creating the predicate were swapped back and forth forever. Differential Revision: https://reviews.llvm.org/D94934
Diffstat (limited to 'llvm/lib/Analysis/CodeMetrics.cpp')
0 files changed, 0 insertions, 0 deletions