Skip to content
Commit 033f01c9 authored by Torok Edwin's avatar Torok Edwin
Browse files

Fix PR5247, "lock addq" pattern (and other atomics), it DOES modify EFLAGS.

LLC was scheduling compares before the adds causing wrong branches to be taken
in programs, resulting in misoptimized code wherever atomic adds where used.

llvm-svn: 84485
parent b625a13c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment