summaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2021-01-22 15:03:17 +0000
committerFlorian Hahn <flo@fhahn.com>2021-01-22 15:10:12 +0000
commit86991d3231334538cccf6732056cbb641046bd49 (patch)
treeabd640b6eb0f4f8b7b37c7708093939cbc81add8 /clang/lib/CodeGen/CodeGenModule.cpp
parentc8b4337911f4b61724fe62518c83cd6919d56b29 (diff)
[LoopUnswitch] Fix logic to avoid unswitching with atomic loads.
The existing code did not deal with atomic loads correctly. Such loads are represented as MemoryDefs. Bail out on any MemoryAccess that is not a MemoryUse.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions