mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-05 12:31:33 +00:00
Use the local variable that other clauses around here are already using.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218876 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e165693c7a
commit
dafb357bb5
@ -534,7 +534,7 @@ Instruction *InstCombiner::visitFMul(BinaryOperator &I) {
|
|||||||
|
|
||||||
// Under unsafe algebra do:
|
// Under unsafe algebra do:
|
||||||
// X * log2(0.5*Y) = X*log2(Y) - X
|
// X * log2(0.5*Y) = X*log2(Y) - X
|
||||||
if (I.hasUnsafeAlgebra()) {
|
if (AllowReassociate) {
|
||||||
Value *OpX = nullptr;
|
Value *OpX = nullptr;
|
||||||
Value *OpY = nullptr;
|
Value *OpY = nullptr;
|
||||||
IntrinsicInst *Log2;
|
IntrinsicInst *Log2;
|
||||||
|
Loading…
Reference in New Issue
Block a user