Unverified Commit 63a4b4f6 authored by Thorsten Schütt's avatar Thorsten Schütt Committed by GitHub
Browse files

[GlobalIsel] Combine logic of floating point compares (#81886)

It is purely based on symmetry. Registers can be scalars, vectors, and
non-constants.

X < 5.0 || X > 5.0
  ->
X != 5.0

X < Y && X > Y
  ->
  FCMP_FALSE

X < Y && X < Y
  ->
  FCMP_TRUE

see InstCombinerImpl::foldLogicOfFCmps
parent 119a7286
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment