diff options
author | Tim Northover <tnorthover@apple.com> | 2014-07-07 09:06:35 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2014-07-07 09:06:35 +0000 |
commit | 55beb64bd063196acda5dd51e7e63f2ceae48ee7 (patch) | |
tree | bf843e8d0c020fb8cbf167c850432b2e133392b9 /clang/lib/Basic/FileSystemStatCache.cpp | |
parent | 03376dc2c525c725323993fe0a17fd5d7313a9e7 (diff) | |
download | llvm-55beb64bd063196acda5dd51e7e63f2ceae48ee7.zip llvm-55beb64bd063196acda5dd51e7e63f2ceae48ee7.tar.gz llvm-55beb64bd063196acda5dd51e7e63f2ceae48ee7.tar.bz2 |
CodeGen: it turns out that NAND is not the same thing as BIC. At all.
We've been performing the wrong operation on ARM for "atomicrmw nand" for
years, since "a NAND b" is "~(a & b)" rather than ARM's very tempting "a & ~b".
This bled over into the generic expansion pass.
So I assume no-one has ever actually tried to do an atomic nand in the real
world. Oh well.
llvm-svn: 212443
Diffstat (limited to 'clang/lib/Basic/FileSystemStatCache.cpp')
0 files changed, 0 insertions, 0 deletions