HomePhabricator

Fix undefined behaviour in PPCInstPrinter::printBranchOperand.

Authored by sfertile on Feb 12 2019, 12:03 PM.

Description

Fix undefined behaviour in PPCInstPrinter::printBranchOperand.

Fix the undefined behaviour introduced by my previous patch r353865 (left
shifting a potentially negative value), which was caught by the bots that run
UBSan.

llvm-svn: 353874

Details

Committed
sfertileFeb 12 2019, 12:03 PM
Parents
rG706a96529561: [llvm-dwp] Avoid writing the output dwp file when there is an error
Branches
Unknown
Tags
Unknown