summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/Targets.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2015-09-06 06:49:59 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2015-09-06 06:49:59 +0000
commit135ca40a7db96c91840d55d075930e5bb81c1e8b (patch)
treee3b3380b3ed0f6b5a54ba48cb8f6036bce43f9c2 /clang/lib/Basic/Targets.cpp
parent10aac5fd0e5c2649571862aeb1e78228dcba3098 (diff)
downloadbcm5719-llvm-135ca40a7db96c91840d55d075930e5bb81c1e8b.tar.gz
bcm5719-llvm-135ca40a7db96c91840d55d075930e5bb81c1e8b.zip
[InstCombine] Don't divide by zero when evaluating a potential transform
Trivial multiplication by zero may survive the worklist. We tried to reassociate the multiplication with a division instruction, causing us to divide by zero; bail out instead. This fixes PR24726. llvm-svn: 246939
Diffstat (limited to 'clang/lib/Basic/Targets.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud