]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Add an IR folding rule to convert Add32(x,x) into Shl32(x,1). This
authorJulian Seward <jseward@acm.org>
Sun, 14 May 2006 18:46:55 +0000 (18:46 +0000)
committerJulian Seward <jseward@acm.org>
Sun, 14 May 2006 18:46:55 +0000 (18:46 +0000)
commitf28bf5bdc542545bdb3453f40e1ce2dcd425ba4d
treeeea9cddfd2ccbadcb30bc36f1ae9721b4c1ac316
parentc26b8fe19569b0e431dc31e5b2b05f509025519d
Add an IR folding rule to convert Add32(x,x) into Shl32(x,1).  This
fixes #118466 and it also gets rid of a bunch of false positives for
KDE 3.5.2 built by gcc-4.0.2 on x86, of the form shown below.

  Use of uninitialised value of size 4
    at 0x4BFC342: QIconSet::pixmap(QIconSet::Size, QIconSet::Mode,
                                   QIconSet::State) const (qiconset.cpp:530)
    by 0x4555BE7: KToolBarButton::drawButton(QPainter*)
                  (ktoolbarbutton.cpp:536)
    by 0x4CB8A0A: QButton::paintEvent(QPaintEvent*) (qbutton.cpp:887)

git-svn-id: svn://svn.valgrind.org/vex/trunk@1617
VEX/priv/ir/iropt.c