Skip to content

Commit

Permalink
Reactor: Fix createFCmpUNE (LLVM)
Browse files Browse the repository at this point in the history
This was just calling the wrong function.
Looks like a copy and paste bug.

Change-Id: Icde43940f17f467f7602b7a2ce0e5ac1e517c769
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/26208
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
Tested-by: Ben Clayton <bclayton@google.com>
Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
  • Loading branch information
ben-clayton committed Mar 7, 2019
1 parent ec25573 commit 71008d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Reactor/LLVMReactor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1450,7 +1450,7 @@ namespace rr

Value *Nucleus::createFCmpUNE(Value *lhs, Value *rhs)
{
return V(::builder->CreateFCmpULE(V(lhs), V(rhs)));
return V(::builder->CreateFCmpUNE(V(lhs), V(rhs)));
}

Value *Nucleus::createExtractElement(Value *vector, Type *type, int index)
Expand Down

0 comments on commit 71008d8

Please sign in to comment.