diff options
author | annamthomas <anna@azul.com> | 2023-11-08 10:25:11 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-08 10:25:11 -0500 |
commit | 98d8b688bd351850ca99d3e5e9dfdf582c83c4f4 (patch) | |
tree | 33eaf28d60b167b665fb65e712aa1ec499bbf603 /llvm/lib/IR/Function.cpp | |
parent | ea82853499cc8780cfc86a6913d851f05d527188 (diff) | |
download | llvm-98d8b688bd351850ca99d3e5e9dfdf582c83c4f4.zip llvm-98d8b688bd351850ca99d3e5e9dfdf582c83c4f4.tar.gz llvm-98d8b688bd351850ca99d3e5e9dfdf582c83c4f4.tar.bz2 |
[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.
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions