diff options
author | Pirama Arumuga Nainar <pirama@google.com> | 2015-04-10 22:08:18 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-04-10 22:08:18 +0000 |
commit | 13a7db5b9c4f5e543d037be68ec3428216bfd550 (patch) | |
tree | 1b2c9792582e12f5af0b1512e3094425f0dc0df9 /test/CodeGen/AArch64/bitfield-insert.ll | |
parent | 0eb46f5d1e06a4284663d636a74b06adc3a161d7 (diff) | |
parent | 31195f0bdca6ee2a5e72d07edf13e1d81206d949 (diff) | |
download | external_llvm-13a7db5b9c4f5e543d037be68ec3428216bfd550.zip external_llvm-13a7db5b9c4f5e543d037be68ec3428216bfd550.tar.gz external_llvm-13a7db5b9c4f5e543d037be68ec3428216bfd550.tar.bz2 |
am 31195f0b: Merge "Update aosp/master llvm for rebase to r233350"
* commit '31195f0bdca6ee2a5e72d07edf13e1d81206d949':
Update aosp/master llvm for rebase to r233350
Diffstat (limited to 'test/CodeGen/AArch64/bitfield-insert.ll')
-rw-r--r-- | test/CodeGen/AArch64/bitfield-insert.ll | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/test/CodeGen/AArch64/bitfield-insert.ll b/test/CodeGen/AArch64/bitfield-insert.ll index 2369a55..9b731fa 100644 --- a/test/CodeGen/AArch64/bitfield-insert.ll +++ b/test/CodeGen/AArch64/bitfield-insert.ll @@ -28,10 +28,10 @@ define void @test_whole32(i32* %existing, i32* %new) { ; CHECK: bfi {{w[0-9]+}}, {{w[0-9]+}}, #26, #5 - %oldval = load volatile i32* %existing + %oldval = load volatile i32, i32* %existing %oldval_keep = and i32 %oldval, 2214592511 ; =0x83ffffff - %newval = load volatile i32* %new + %newval = load volatile i32, i32* %new %newval_shifted = shl i32 %newval, 26 %newval_masked = and i32 %newval_shifted, 2080374784 ; = 0x7c000000 @@ -47,10 +47,10 @@ define void @test_whole64(i64* %existing, i64* %new) { ; CHECK-NOT: and ; CHECK: ret - %oldval = load volatile i64* %existing + %oldval = load volatile i64, i64* %existing %oldval_keep = and i64 %oldval, 18446742974265032703 ; = 0xffffff0003ffffffL - %newval = load volatile i64* %new + %newval = load volatile i64, i64* %new %newval_shifted = shl i64 %newval, 26 %newval_masked = and i64 %newval_shifted, 1099444518912 ; = 0xfffc000000 @@ -68,10 +68,10 @@ define void @test_whole32_from64(i64* %existing, i64* %new) { ; CHECK: ret - %oldval = load volatile i64* %existing + %oldval = load volatile i64, i64* %existing %oldval_keep = and i64 %oldval, 4294901760 ; = 0xffff0000 - %newval = load volatile i64* %new + %newval = load volatile i64, i64* %new %newval_masked = and i64 %newval, 65535 ; = 0xffff %combined = or i64 %oldval_keep, %newval_masked @@ -86,10 +86,10 @@ define void @test_32bit_masked(i32 *%existing, i32 *%new) { ; CHECK: and ; CHECK: bfi [[INSERT:w[0-9]+]], {{w[0-9]+}}, #3, #4 - %oldval = load volatile i32* %existing + %oldval = load volatile i32, i32* %existing %oldval_keep = and i32 %oldval, 135 ; = 0x87 - %newval = load volatile i32* %new + %newval = load volatile i32, i32* %new %newval_shifted = shl i32 %newval, 3 %newval_masked = and i32 %newval_shifted, 120 ; = 0x78 @@ -104,10 +104,10 @@ define void @test_64bit_masked(i64 *%existing, i64 *%new) { ; CHECK: and ; CHECK: bfi [[INSERT:x[0-9]+]], {{x[0-9]+}}, #40, #8 - %oldval = load volatile i64* %existing + %oldval = load volatile i64, i64* %existing %oldval_keep = and i64 %oldval, 1095216660480 ; = 0xff_0000_0000 - %newval = load volatile i64* %new + %newval = load volatile i64, i64* %new %newval_shifted = shl i64 %newval, 40 %newval_masked = and i64 %newval_shifted, 280375465082880 ; = 0xff00_0000_0000 @@ -124,10 +124,10 @@ define void @test_32bit_complexmask(i32 *%existing, i32 *%new) { ; CHECK: and ; CHECK: bfi {{w[0-9]+}}, {{w[0-9]+}}, #3, #4 - %oldval = load volatile i32* %existing + %oldval = load volatile i32, i32* %existing %oldval_keep = and i32 %oldval, 647 ; = 0x287 - %newval = load volatile i32* %new + %newval = load volatile i32, i32* %new %newval_shifted = shl i32 %newval, 3 %newval_masked = and i32 %newval_shifted, 120 ; = 0x278 @@ -144,10 +144,10 @@ define void @test_32bit_badmask(i32 *%existing, i32 *%new) { ; CHECK-NOT: bfm ; CHECK: ret - %oldval = load volatile i32* %existing + %oldval = load volatile i32, i32* %existing %oldval_keep = and i32 %oldval, 135 ; = 0x87 - %newval = load volatile i32* %new + %newval = load volatile i32, i32* %new %newval_shifted = shl i32 %newval, 3 %newval_masked = and i32 %newval_shifted, 632 ; = 0x278 @@ -164,10 +164,10 @@ define void @test_64bit_badmask(i64 *%existing, i64 *%new) { ; CHECK-NOT: bfm ; CHECK: ret - %oldval = load volatile i64* %existing + %oldval = load volatile i64, i64* %existing %oldval_keep = and i64 %oldval, 135 ; = 0x87 - %newval = load volatile i64* %new + %newval = load volatile i64, i64* %new %newval_shifted = shl i64 %newval, 3 %newval_masked = and i64 %newval_shifted, 664 ; = 0x278 @@ -182,10 +182,10 @@ define void @test_64bit_badmask(i64 *%existing, i64 *%new) { define void @test_32bit_with_shr(i32* %existing, i32* %new) { ; CHECK-LABEL: test_32bit_with_shr: - %oldval = load volatile i32* %existing + %oldval = load volatile i32, i32* %existing %oldval_keep = and i32 %oldval, 2214592511 ; =0x83ffffff - %newval = load i32* %new + %newval = load i32, i32* %new %newval_shifted = shl i32 %newval, 12 %newval_masked = and i32 %newval_shifted, 2080374784 ; = 0x7c000000 |