summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-02-08 06:14:53 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-02-08 06:14:53 +0000
commitda7c4ba1af98430eb16468d2cf211473a3be175e (patch)
treef42101a97dc688acefcbd411a1f0b8e50cbd9007 /llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
parent5bc1712940fb7b88aae6ba46766567c9c886a1f8 (diff)
downloadbcm5719-llvm-da7c4ba1af98430eb16468d2cf211473a3be175e.tar.gz
bcm5719-llvm-da7c4ba1af98430eb16468d2cf211473a3be175e.zip
Implement the agreed resolution to DR1457: a signed left shift of a 1 bit into
the sign bit doesn't have undefined behavior, but a signed left shift of a 1 bit out of the sign bit still does. As promised to Howard :) The suppression of the potential constant expression checking in system headers is also removed, since the problem it was working around is gone. llvm-svn: 150059
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCInstrInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud