[MS Volatile] Don't make volatile loads/stores to underaligned objects atomic
Underaligned atomic LValues require libcalls which MSVC doesn't have. MSVC doesn't seem to consider such operations as requiring a barrier anyway. This fixes PR27843. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@270576 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/CodeGen/CGAtomic.cpp 2 additions, 22 deletionslib/CodeGen/CGAtomic.cpp
- lib/CodeGen/CGExpr.cpp 7 additions, 8 deletionslib/CodeGen/CGExpr.cpp
- lib/CodeGen/CodeGenFunction.h 0 additions, 1 deletionlib/CodeGen/CodeGenFunction.h
- test/CodeGen/ms-volatile.c 14 additions, 1 deletiontest/CodeGen/ms-volatile.c
Loading
Please register or sign in to comment