diff options
author | Nirav Dave <niravd@google.com> | 2017-07-05 13:08:03 +0000 |
---|---|---|
committer | Nirav Dave <niravd@google.com> | 2017-07-05 13:08:03 +0000 |
commit | bef33d7af3df978c974b84adbcc5a60aa1019dab (patch) | |
tree | c9fe3c8fdf550881ef6abed62d8066f2710b1b2e /test/CodeGen/Hexagon/convertdptoll.ll | |
parent | 1f536a1112f285d7ecbf9fe7274211d330c463c5 (diff) |
[Hexagon] Preclude non-memory test from being optimized away. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307153 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Hexagon/convertdptoll.ll')
-rw-r--r-- | test/CodeGen/Hexagon/convertdptoll.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/Hexagon/convertdptoll.ll b/test/CodeGen/Hexagon/convertdptoll.ll index f46d46cf76b..6b5bf56a248 100644 --- a/test/CodeGen/Hexagon/convertdptoll.ll +++ b/test/CodeGen/Hexagon/convertdptoll.ll @@ -17,8 +17,8 @@ entry: %0 = load double, double* %a, align 8 %1 = load double, double* %b, align 8 %add = fadd double %0, %1 - store double %add, double* %c, align 8 - %2 = load double, double* %c, align 8 + store volatile double %add, double* %c, align 8 + %2 = load volatile double, double* %c, align 8 %conv = fptosi double %2 to i64 store i64 %conv, i64* %i, align 8 %3 = load i64, i64* %i, align 8 |