Mercurial > hg > CbC > CbC_llvm
diff test/CodeGen/AArch64/arm64-fast-isel-gv.ll @ 95:afa8332a0e37 LLVM3.8
LLVM 3.8
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 13 Oct 2015 17:48:58 +0900 |
parents | 54457678186b |
children | 1172e4bd9c6f |
line wrap: on
line diff
--- a/test/CodeGen/AArch64/arm64-fast-isel-gv.ll Wed Feb 18 14:56:07 2015 +0900 +++ b/test/CodeGen/AArch64/arm64-fast-isel-gv.ll Tue Oct 13 17:48:58 2015 +0900 @@ -1,4 +1,4 @@ -; RUN: llc -O0 -fast-isel-abort -verify-machineinstrs -mtriple=arm64-apple-darwin < %s | FileCheck %s +; RUN: llc -O0 -fast-isel-abort=1 -verify-machineinstrs -mtriple=arm64-apple-darwin < %s | FileCheck %s ; Test load/store of global value from global offset table. @seed = common global i64 0, align 8 @@ -26,12 +26,12 @@ ; CHECK: and [[REG8:x[0-9]+]], [[REG7]], #0xffff ; CHECK: str [[REG8]], {{\[}}[[REG1]]{{\]}} ; CHECK: ldr {{x[0-9]+}}, {{\[}}[[REG1]]{{\]}} - %0 = load i64* @seed, align 8 + %0 = load i64, i64* @seed, align 8 %mul = mul nsw i64 %0, 1309 %add = add nsw i64 %mul, 13849 %and = and i64 %add, 65535 store i64 %and, i64* @seed, align 8 - %1 = load i64* @seed, align 8 + %1 = load i64, i64* @seed, align 8 %conv = trunc i64 %1 to i32 ret i32 %conv }