diff options
author | Sanjay Patel <spatel@rotateright.com> | 2017-08-11 22:38:40 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2017-08-11 22:38:40 +0000 |
commit | 2b452c7192e296993688b78b305f6e7e46aaf625 (patch) | |
tree | 22cf279658c5ccb2257fd87bd664e89a1553685b /llvm/lib/Fuzzer/FuzzerClangCounters.cpp | |
parent | 3072b539da43e72581d2f032b7503fbffb2666ff (diff) | |
download | bcm5719-llvm-2b452c7192e296993688b78b305f6e7e46aaf625.tar.gz bcm5719-llvm-2b452c7192e296993688b78b305f6e7e46aaf625.zip |
[x86] add tests for rotate left/right with masked shifter; NFC
As noted in the test comment, instcombine now produces the masked
shift value even when it's not included in the source, so we should
handle this.
Although the AMD/Intel docs don't say it explicitly, over-rotating
the narrow ops produces the same results. An existence proof that
this works as expected on all x86 comes from gcc 4.9 or later:
https://godbolt.org/g/K6rc1A
llvm-svn: 310770
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerClangCounters.cpp')
0 files changed, 0 insertions, 0 deletions