[llvm-commits] CVS: llvm/test/Regression/CBackend/2003-10-28-CastToPtrToStruct.ll

Brian Gaeke gaeke at cs.uiuc.edu
Tue Oct 28 16:56:01 PST 2003


Changes in directory llvm/test/Regression/CBackend:

2003-10-28-CastToPtrToStruct.ll added (r1.1)

---
Log message:

New testcase, reduced from DOOM.


---
Diffs of the changes:  (+10 -0)

Index: llvm/test/Regression/CBackend/2003-10-28-CastToPtrToStruct.ll
diff -c /dev/null llvm/test/Regression/CBackend/2003-10-28-CastToPtrToStruct.ll:1.1
*** /dev/null	Tue Oct 28 16:55:06 2003
--- llvm/test/Regression/CBackend/2003-10-28-CastToPtrToStruct.ll	Tue Oct 28 16:54:56 2003
***************
*** 0 ****
--- 1,10 ----
+ ; reduced from DOOM.
+ %union._XEvent = type { int }
+ %.X_event_9 = global %union._XEvent zeroinitializer
+ 
+ implementation   ; Functions:
+ void %I_InitGraphics() {
+ shortcirc_next.3:		; preds = %no_exit.1
+ 	%tmp.319 = load int* getelementptr ({ int, int }* cast (%union._XEvent* %.X_event_9 to { int, int }*), long 0, ubyte 1)		; <int> [#uses=1]
+     ret void
+ }





More information about the llvm-commits mailing list