diff options
author | David Majnemer <david.majnemer@gmail.com> | 2016-05-12 03:07:40 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2016-05-12 03:07:40 +0000 |
commit | 96f0d383a7adf48d643fbcd85a8595042ff8e84e (patch) | |
tree | d6c2bddd37496ba1bf58b85e398e914427b1cb76 /clang/unittests/Basic/VirtualFileSystemTest.cpp | |
parent | 8300272823108eb17f01af51c4d54ef5018a5e6d (diff) | |
download | llvm-96f0d383a7adf48d643fbcd85a8595042ff8e84e.zip llvm-96f0d383a7adf48d643fbcd85a8595042ff8e84e.tar.gz llvm-96f0d383a7adf48d643fbcd85a8595042ff8e84e.tar.bz2 |
[SCCP] Resolve shifts beyond the bitwidth to undef
Shifts beyond the bitwidth are undef but SCCP resolved them to zero.
Instead, DTRT and resolve them to undef.
This reimplements the transform which caused PR27712.
llvm-svn: 269269
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions