diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-12-24 17:31:46 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-12-24 17:31:46 +0000 |
commit | 4ee5747fddc9cf0c8ce48b72f58cc4981cded922 (patch) | |
tree | a3a1ba6564f685d2730a108b9d2c6ef467e3c9cb /clang/test/CodeGenCXX/virtual-implicit-move-assignment.cpp | |
parent | 010337c8385b919f75d98f6cb383214817c13257 (diff) | |
download | bcm5719-llvm-4ee5747fddc9cf0c8ce48b72f58cc4981cded922.tar.gz bcm5719-llvm-4ee5747fddc9cf0c8ce48b72f58cc4981cded922.zip |
ComputeMaskedBits: Make knownzero computation more aggressive for ctlz with undef zero.
unsigned foo(unsigned x) { return 31 - __builtin_clz(x); }
now compiles into a single "bsrl" instruction on x86.
llvm-svn: 147255
Diffstat (limited to 'clang/test/CodeGenCXX/virtual-implicit-move-assignment.cpp')
0 files changed, 0 insertions, 0 deletions