diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2018-08-30 09:32:21 +0000 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2018-08-30 09:32:21 +0000 |
commit | 26a1836757b44946b724b87471316bd1e747427c (patch) | |
tree | 0554fdfa70b81c557456cd7c50d0176012f5b3d4 /lldb/packages/Python/lldbsuite/test/functionalities/command_script/main.cpp | |
parent | c0b802289184448405e90d827818afc47c577797 (diff) | |
download | bcm5719-llvm-26a1836757b44946b724b87471316bd1e747427c.tar.gz bcm5719-llvm-26a1836757b44946b724b87471316bd1e747427c.zip |
[NFC][CodeGen][SelectionDAG] Tests for X % C == 0 codegen improvement.
Hacker's Delight 10-17: when C is constant,
the result of X % C == 0 can be computed more cheaply
without actually calculating the remainder.
The motivation is discussed here:
https://bugs.llvm.org/show_bug.cgi?id=35479.
Patch by: hermord (Dmytro Shynkevych)!
For https://reviews.llvm.org/D50222
llvm-svn: 341047
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/command_script/main.cpp')
0 files changed, 0 insertions, 0 deletions