[TLI] Fix signature for fprintf (PR59757)
authorNikita Popov <npopov@redhat.com>
Tue, 3 Jan 2023 14:26:31 +0000 (15:26 +0100)
committerNikita Popov <npopov@redhat.com>
Tue, 3 Jan 2023 14:28:47 +0000 (15:28 +0100)
commitf3a113ff48a8b5e88455d45debbdc0bce2635b9a
tree65834b7a7956bde482ff447d016778943857c116
parenta5ae5afa521f75e87f9018d8361aa5a1cadc7a86
[TLI] Fix signature for fprintf (PR59757)

fprintf() requires two pointer arguments.

Fixes https://github.com/llvm/llvm-project/issues/59757.
llvm/include/llvm/Analysis/TargetLibraryInfo.def
llvm/test/Transforms/InstCombine/fprintf-wrong-sig.ll [new file with mode: 0644]