]> granicus.if.org Git - llvm/commit
[InstCombine] visitFCmpInst - appease copy+paste pattern warning. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 29 Apr 2019 18:52:19 +0000 (18:52 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 29 Apr 2019 18:52:19 +0000 (18:52 +0000)
commite3da0d820a37c78767320ca138aa9284822fca03
tree7a3f548b063817ca331bf63da8afb8f32e0a8ec3
parent8488f421468a7076cf1763d1f4374ad258b4c927
[InstCombine] visitFCmpInst - appease copy+paste pattern warning. NFCI.

PVS Studio's copy+paste recognizer was seeing this as a typo, technically Op0/Op1 in a fcmp should always be the same type, but we might as well avoid the issue.

Reported in https://www.viva64.com/en/b/0629/

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359482 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCompares.cpp