[all-commits] [llvm/llvm-project] 9d45b4: [SimplifyLibCalls] Constant fold `remquo` (#99647)

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Tue Jul 23 22:32:42 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d45b450f26a1ad669d4ceaac2c36aff4b80bfde
      https://github.com/llvm/llvm-project/commit/9d45b450f26a1ad669d4ceaac2c36aff4b80bfde
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-07-24 (Wed, 24 Jul 2024)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/SimplifyLibCalls.h
    M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
    A llvm/test/Transforms/InstCombine/remquo.ll
    A llvm/test/Transforms/InstCombine/remquol-fp128.ll
    A llvm/test/Transforms/InstCombine/remquol-fp80.ll
    A llvm/test/Transforms/InstCombine/remquol-ppc-fp128.ll

  Log Message:
  -----------
  [SimplifyLibCalls] Constant fold `remquo` (#99647)

This patch adds constant folding support for `remquo`.
Reference: https://en.cppreference.com/w/cpp/numeric/math/remquo

Closes https://github.com/llvm/llvm-project/issues/99497.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list