[PATCH] D147942: ValueTracking: Delete body of isKnownNeverInfinity
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 10 07:48:14 PDT 2023
arsenm created this revision.
arsenm added reviewers: bkramer, jcranmer-intel, kpn, cameron.mcinally, sepavloff, nikic, andrew.w.kaylor, scanon.
Herald added subscribers: kosarev, foad, StephenFan, kerbowa, hiraditya, jvesely.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.
computeKnownFPClass should now handle infinity checks equally as
well as what this could do before so delete the redundant code.
Most of the diff is from threading DataLayout through the various
APIs that call into isKnownNeverInfinity.
https://reviews.llvm.org/D147942
Files:
llvm/include/llvm/Analysis/ValueTracking.h
llvm/lib/Analysis/InstructionSimplify.cpp
llvm/lib/Analysis/ValueTracking.cpp
llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147942.512144.patch
Type: text/x-patch
Size: 31114 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230410/595b3a74/attachment.bin>
More information about the llvm-commits
mailing list