[PATCH] D149185: ValueTracking: Fix computeKnownFPClass handling for copysign

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 25 13:14:22 PDT 2023


arsenm created this revision.
arsenm added reviewers: jcranmer-intel, foad, kpn, sepavloff.
Herald added subscribers: StephenFan, okura, kuter.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: sstefan1.
Herald added a project: LLVM.

We need to expand the set of possible classes to the opposite
sign for the first operand if we don't know the sign of the second
operand.


https://reviews.llvm.org/D149185

Files:
  llvm/include/llvm/Analysis/ValueTracking.h
  llvm/test/Transforms/Attributor/nofpclass-copysign.ll
  llvm/unittests/Analysis/ValueTrackingTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149185.516876.patch
Type: text/x-patch
Size: 15611 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230425/c5ff552b/attachment.bin>


More information about the llvm-commits mailing list