summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2018-03-13 14:46:32 +0000
committerSanjay Patel <spatel@rotateright.com>2018-03-13 14:46:32 +0000
commit204edeca5661d7dc80139d43507a0e268afff330 (patch)
treed6b61f8781dc0c400d3828e709083ce521372382 /lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py
parent476ed8f26e91bce8144b4df4c20eb1c990383ba3 (diff)
downloadbcm5719-llvm-204edeca5661d7dc80139d43507a0e268afff330.tar.gz
bcm5719-llvm-204edeca5661d7dc80139d43507a0e268afff330.zip
[InstCombine] fix fmul reassociation to avoid creating an extra fdiv
This was supposed to be an NFC refactoring that will eventually allow eliminating the isFast() predicate, but there's a rare possibility that we would pessimize the code as shown in the test case because we failed to check 'hasOneUse()' properly. This version also removes an inefficiency of the old code; we would look for: (X * C) * C1 --> X * (C * C1) ...but that pattern is always handled by SimplifyAssociativeOrCommutative(). llvm-svn: 327404
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud