[PATCH] D24143: Fix incorrect folding of an ordered fcmp with a vector of all NaN.

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 2 07:25:20 PDT 2016


spatel accepted this revision.
spatel added a comment.
This revision is now accepted and ready to land.

LGTM.

Given the number of times we duplicate this line in this function, we could make this parallel the code in SimplifyICmpInst:

  Type *RetTy = GetCompareTy(LHS); // at the top of the function
  getFalse(RetTy); // everywhere below


https://reviews.llvm.org/D24143





More information about the llvm-commits mailing list