[llvm-commits] [hlvm] r38300 - /hlvm/trunk/test/return0/select.hlx

Reid Spencer reid at x10sys.com
Sat Jul 7 17:02:06 PDT 2007


Author: reid
Date: Sat Jul  7 19:02:06 2007
New Revision: 38300

URL: http://llvm.org/viewvc/llvm-project?rev=38300&view=rev
Log:
Add a test case for testing block nesting with a select operator.

Added:
    hlvm/trunk/test/return0/select.hlx

Added: hlvm/trunk/test/return0/select.hlx
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/test/return0/select.hlx?rev=38300&view=auto

==============================================================================
--- hlvm/trunk/test/return0/select.hlx (added)
+++ hlvm/trunk/test/return0/select.hlx Sat Jul  7 19:02:06 2007
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<hlvm xmlns="http://hlvm.org/src/hlvm/Reader/XML/HLVM.rng" pubid="http://hlvm.org/src/hlvm/test/xml2xml/select.hlx">
+  <bundle id="select">
+    <constant id="0" type="s32">
+      <dec>0</dec>
+    </constant>
+    <constant id="21" type="s32">
+      <dec>21</dec>
+    </constant>
+    <constant id="42" type="s32">
+      <dec>42</dec>
+    </constant>
+    <program id="select">
+      <block>
+        <ret>
+          <select>
+            <block>
+              <ne><ref id="42"/><ref id="21"/></ne>
+            </block>
+            <block>
+              <ref id="0"/>
+            </block>
+            <block>
+              <ref id="42"/>
+            </block>
+          </select>
+        </ret>
+      </block>
+    </program>
+  </bundle>
+</hlvm>





More information about the llvm-commits mailing list