Skip to content
Commit 0c2ee5a2 authored by Saleem Abdulrasool's avatar Saleem Abdulrasool
Browse files

[ARM] check bitwidth in PerformORCombine



When simplifying a (or (and B A) (and C ~A)) to a (VBSL A B C) ensure that the
bitwidth of the second operands to both ands match before comparing the negation
of the values.

Split the check of the value of the second operands to the ands.  Move the cast
and variable declaration slightly higher to make it slightly easier to follow.

Bug-Id: 16700
Signed-off-by: default avatarSaleem Abdulrasool <compnerd@compnerd.org>
llvm-svn: 187404
parent d20830df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment