1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Use the local variable that other clauses around here are already using.

llvm-svn: 218876
This commit is contained in:
Sanjay Patel 2014-10-02 15:20:45 +00:00
parent ac92b588ed
commit 0ba6197f0d

View File

@ -534,7 +534,7 @@ Instruction *InstCombiner::visitFMul(BinaryOperator &I) {
// Under unsafe algebra do:
// X * log2(0.5*Y) = X*log2(Y) - X
if (I.hasUnsafeAlgebra()) {
if (AllowReassociate) {
Value *OpX = nullptr;
Value *OpY = nullptr;
IntrinsicInst *Log2;