aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2019-10-09 23:43:33 +0000
committerPhilip Reames <listmail@philipreames.com>2019-10-09 23:43:33 +0000
commit931120846e5f9c5ff9a70ee8a2fa4dfdd468f753 (patch)
treefc320a27a3f38c1372ee079dc373ccc58ce9969f /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parent04f1effb993c93973552cbc861038622395f0d0e (diff)
downloadllvm-931120846e5f9c5ff9a70ee8a2fa4dfdd468f753.zip
llvm-931120846e5f9c5ff9a70ee8a2fa4dfdd468f753.tar.gz
llvm-931120846e5f9c5ff9a70ee8a2fa4dfdd468f753.tar.bz2
Conservatively add volatility and atomic checks in a few places
As background, starting in D66309, I'm working on support unordered atomics analogous to volatile flags on normal LoadSDNode/StoreSDNodes for X86. As part of that, I spent some time going through usages of LoadSDNode and StoreSDNode looking for cases where we might have missed a volatility check or need an atomic check. I couldn't find any cases that clearly miscompile - i.e. no test cases - but a couple of pieces in code loop suspicious though I can't figure out how to exercise them. This patch adds defensive checks and asserts in the places my manual audit found. If anyone has any ideas on how to either a) disprove any of the checks, or b) hit the bug they might be fixing, I welcome suggestions. Differential Revision: https://reviews.llvm.org/D68419 llvm-svn: 374261
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions