Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1352)

Unified Diff: test/NaCl/X86/llc-malign-double.ll

Issue 1151093004: Changes from 3.7 merge to files not in upstream (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/NaCl/X86/llc-malign-double.ll
diff --git a/test/NaCl/X86/llc-malign-double.ll b/test/NaCl/X86/llc-malign-double.ll
index 39623701be54b2957b661dfe846b747a7102d249..7bf497d8622e2b06fbde1b27ef145b2a74e1fd4a 100644
--- a/test/NaCl/X86/llc-malign-double.ll
+++ b/test/NaCl/X86/llc-malign-double.ll
@@ -10,7 +10,7 @@
define i32 @check_i64_size() {
; CHECK-LABEL: check_i64_size:
%starti = ptrtoint %structi64* null to i32
- %endp = getelementptr %structi64* null, i32 1
+ %endp = getelementptr %structi64, %structi64* null, i32 1
%endi = ptrtoint %structi64* %endp to i32
%diff = sub i32 %endi, %starti
; CHECK: movl $12, %eax
@@ -21,7 +21,7 @@ define i32 @check_i64_size() {
define i32 @check_i64_offset() {
; CHECK-LABEL: check_i64_offset:
%starti = ptrtoint %structi64* null to i32
- %endp = getelementptr %structi64* null, i32 0, i32 1
+ %endp = getelementptr %structi64, %structi64* null, i32 0, i32 1
%endi = ptrtoint i64* %endp to i32
%diff = sub i32 %endi, %starti
; CHECK: movl $4, %eax
@@ -34,7 +34,7 @@ define i32 @check_i64_offset() {
define i32 @check_f64_size() {
; CHECK-LABEL: check_f64_size:
%starti = ptrtoint %structf64* null to i32
- %endp = getelementptr %structf64* null, i32 1
+ %endp = getelementptr %structf64, %structf64* null, i32 1
%endi = ptrtoint %structf64* %endp to i32
%diff = sub i32 %endi, %starti
; CHECK: movl $12, %eax
@@ -45,7 +45,7 @@ define i32 @check_f64_size() {
define i32 @check_f64_offset() {
; CHECK-LABEL: check_f64_offset:
%starti = ptrtoint %structf64* null to i32
- %endp = getelementptr %structf64* null, i32 0, i32 1
+ %endp = getelementptr %structf64, %structf64* null, i32 0, i32 1
%endi = ptrtoint double* %endp to i32
%diff = sub i32 %endi, %starti
; CHECK: movl $4, %eax

Powered by Google App Engine
This is Rietveld 408576698