diff options
author | Duncan Sands <baldrick@free.fr> | 2011-05-02 16:27:02 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2011-05-02 16:27:02 +0000 |
commit | f24ed77d2416b66178d8ff1d807858dfab37ca18 (patch) | |
tree | 6d831345e74800af4d0f3b17b53923c807895239 /lib/CodeGen/AsmPrinter/DwarfDebug.cpp | |
parent | 2866edf1204133b4627358d9d5ccd80a4b699cf1 (diff) |
Move some rem transforms out of instcombine and into instsimplify.
This automagically provides a transform noticed by my super-optimizer
as occurring quite often: "rem x, (select cond, x, 1)" -> 0.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130694 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
0 files changed, 0 insertions, 0 deletions