diff options
author | Marcin Koscielnicki <koriakin@0x04.net> | 2016-05-10 16:49:04 +0000 |
---|---|---|
committer | Marcin Koscielnicki <koriakin@0x04.net> | 2016-05-10 16:49:04 +0000 |
commit | bbac890b532499c8e5b4f5c587ecc7667ddc8293 (patch) | |
tree | c81a60fff97bd37c089d372c89ac3b1557de49ad /clang/unittests/Basic/VirtualFileSystemTest.cpp | |
parent | 27d12d3d1f258d1b3caf593bb56f393a5567d40d (diff) | |
download | llvm-bbac890b532499c8e5b4f5c587ecc7667ddc8293.zip llvm-bbac890b532499c8e5b4f5c587ecc7667ddc8293.tar.gz llvm-bbac890b532499c8e5b4f5c587ecc7667ddc8293.tar.bz2 |
[PR27599] [SystemZ] [SelectionDAG] Fix extension of atomic cmpxchg result.
Currently, SelectionDAG assumes 8/16-bit cmpxchg returns either a sign
extended result, or a zero extended result. SystemZ takes a third
option by returning junk in the high bits (rotated contents of the other
bytes in the memory word). In that case, don't use Assert*ext, and
zero-extend the result ourselves if a comparison is needed.
Differential Revision: http://reviews.llvm.org/D19800
llvm-svn: 269075
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions