[all-commits] [llvm/llvm-project] 7bd361: [InstCombine] Fix PR47960 - Incorrect transformati...

Krishnakariya via All-commits all-commits at lists.llvm.org
Sun Jul 25 07:43:47 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7bd361200a7bd86d633058115412a771aea885ca
      https://github.com/llvm/llvm-project/commit/7bd361200a7bd86d633058115412a771aea885ca
  Author: Krishna Kariya <krishna17060 at iiitd.ac.in>
  Date:   2021-07-25 (Sun, 25 Jul 2021)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
    M llvm/test/Transforms/InstCombine/fabs.ll

  Log Message:
  -----------
  [InstCombine] Fix PR47960 - Incorrect transformation of fabs with nnan flag

Bug Fix for PR: https://llvm.org/PR47960

This patch makes sure that the fast math flag used in the 'select'
instruction is the same as the 'fabs' instruction after the transformation.

Differential Revision: https://reviews.llvm.org/D101727




More information about the All-commits mailing list