[all-commits] [llvm/llvm-project] 98d8b6: [InstSimplify] Check call for FMF instead of CtxI ...

annamthomas via All-commits all-commits at lists.llvm.org
Wed Nov 8 07:25:26 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 98d8b688bd351850ca99d3e5e9dfdf582c83c4f4
      https://github.com/llvm/llvm-project/commit/98d8b688bd351850ca99d3e5e9dfdf582c83c4f4
  Author: annamthomas <anna at azul.com>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M llvm/lib/Analysis/InstructionSimplify.cpp

  Log Message:
  -----------
  [InstSimplify] Check call for FMF instead of CtxI (#71585)

This code was incorrectly checking that the CtxI has required FMF, but
the context instruction need not always be the instrinsic call.

Check that the intrinsic call has the required FMF.

Fixes PR71548.




More information about the All-commits mailing list