| Index: tests_lit/llvm2ice_tests/nacl-atomic-intrinsics.ll
|
| diff --git a/tests_lit/llvm2ice_tests/nacl-atomic-intrinsics.ll b/tests_lit/llvm2ice_tests/nacl-atomic-intrinsics.ll
|
| index 061c93d2a5842b107c8dc557a1f25039b3be8f71..f1ff13d22ccfb3e9eab32946facc85b4defed0d8 100644
|
| --- a/tests_lit/llvm2ice_tests/nacl-atomic-intrinsics.ll
|
| +++ b/tests_lit/llvm2ice_tests/nacl-atomic-intrinsics.ll
|
| @@ -1402,7 +1402,7 @@ done:
|
| ;;; Some register will be used in the xadd instruction.
|
| ; O2: lock xadd DWORD PTR {{.*}},[[REG:e..]]
|
| ;;; Make sure that register isn't used again, e.g. as the induction variable.
|
| -; O2-NOT: [[REG]]
|
| +; O2-NOT: ,[[REG]]
|
| ; O2: ret
|
|
|
| ; Do the same test for the xchg instruction instead of xadd.
|
| @@ -1423,7 +1423,7 @@ done:
|
| ;;; Some register will be used in the xchg instruction.
|
| ; O2: xchg DWORD PTR {{.*}},[[REG:e..]]
|
| ;;; Make sure that register isn't used again, e.g. as the induction variable.
|
| -; O2-NOT: [[REG]]
|
| +; O2-NOT: ,[[REG]]
|
| ; O2: ret
|
|
|
| ; Same test for cmpxchg.
|
| @@ -1444,7 +1444,7 @@ done:
|
| ;;; eax and some other register will be used in the cmpxchg instruction.
|
| ; O2: lock cmpxchg DWORD PTR {{.*}},[[REG:e..]]
|
| ;;; Make sure eax isn't used again, e.g. as the induction variable.
|
| -; O2-NOT: eax
|
| +; O2-NOT: ,eax
|
| ; O2: ret
|
|
|
| ; Same test for cmpxchg8b.
|
| @@ -1466,5 +1466,5 @@ done:
|
| ;;; eax and some other register will be used in the cmpxchg instruction.
|
| ; O2: lock cmpxchg8b QWORD PTR
|
| ;;; Make sure eax/ecx/edx/ebx aren't used again, e.g. as the induction variable.
|
| -; O2-NOT: {{eax|ecx|edx|ebx}}
|
| +; O2-NOT: ,{{eax|ecx|edx|ebx}}
|
| ; O2: pop ebx
|
|
|