aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authordstuttar <david.stuttard@amd.com>2020-07-08 11:02:47 +0100
committerdstuttar <david.stuttard@amd.com>2020-07-10 11:57:20 +0100
commit69a89b54c62696d45731b48c26686cc4f9d652c6 (patch)
tree15696444e1ea2d0efd4c41fde80cac3fafa179cb /clang/lib/Frontend/CompilerInvocation.cpp
parentf78e6a3095ca82d7621def46b2531b922a56e8f9 (diff)
downloadllvm-69a89b54c62696d45731b48c26686cc4f9d652c6.zip
llvm-69a89b54c62696d45731b48c26686cc4f9d652c6.tar.gz
llvm-69a89b54c62696d45731b48c26686cc4f9d652c6.tar.bz2
[NFC] Change isFPPredicate comparison to ignore lower bound
Summary: Since changing the Predicate to be an unsigned enum, the lower bound check for isFPPredicate no longer needs to check the lower bound, since it will always evaluate to true. Also fixed a similar issue in SIISelLowering.cpp by removing the need for comparing to FIRST and LAST predicates Added an assert to the isFPPredicate comparison to flag if the FIRST_FCMP_PREDICATE is ever changed to anything other than 0, in which case the logic will break. Without this change warnings are generated in VS. Change-Id: I358f0daf28c0628c7bda8ad4cab4e1757b761bab Subscribers: arsenm, jvesely, nhaehnle, hiraditya, kerbowa, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D83540
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions