diff options
author | JF Bastien <jfbastien@apple.com> | 2018-05-25 17:36:49 +0000 |
---|---|---|
committer | JF Bastien <jfbastien@apple.com> | 2018-05-25 17:36:49 +0000 |
commit | 7853d5faab9ba2c208b7042e076bc37398ed97aa (patch) | |
tree | e1716794aeaa50f5db928256908b338219fa91a1 /llvm/tools/llvm-mca/RetireControlUnit.cpp | |
parent | 1c538423dc2482c475a00b0895dffde5a9ff9bd3 (diff) | |
download | bcm5719-llvm-7853d5faab9ba2c208b7042e076bc37398ed97aa.tar.gz bcm5719-llvm-7853d5faab9ba2c208b7042e076bc37398ed97aa.zip |
Follow-up fix for nonnull atomic non-member functions
Handling of the third parameter was only checking for *_n and not for the C11 variant, which means that cmpxchg of a 'desired' 0 value was erroneously warning. Handle C11 properly, and add extgensive tests for this as well as NULL pointers in a bunch of places.
Fixes r333246 from D47229.
llvm-svn: 333290
Diffstat (limited to 'llvm/tools/llvm-mca/RetireControlUnit.cpp')
0 files changed, 0 insertions, 0 deletions