[llvm-commits] [hlvm] r38419 - in /hlvm/trunk/test: return0/complement.hlx return0/continue.hlx return0/helloworld.hlx xml2xml/arithmetic.hlx xml2xml/autovar.hlx xml2xml/booleanops.hlx xml2xml/helloworld.hlx
Reid Spencer
reid at x10sys.com
Sat Jul 7 17:03:13 PDT 2007
Author: reid
Date: Sat Jul 7 19:03:12 2007
New Revision: 38419
URL: http://llvm.org/viewvc/llvm-project?rev=38419&view=rev
Log:
Remove extra load operators now that the get operator
implies a load. This gets most of the test suite working.
Modified:
hlvm/trunk/test/return0/complement.hlx
hlvm/trunk/test/return0/continue.hlx
hlvm/trunk/test/return0/helloworld.hlx
hlvm/trunk/test/xml2xml/arithmetic.hlx
hlvm/trunk/test/xml2xml/autovar.hlx
hlvm/trunk/test/xml2xml/booleanops.hlx
hlvm/trunk/test/xml2xml/helloworld.hlx
Modified: hlvm/trunk/test/return0/complement.hlx
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/test/return0/complement.hlx?rev=38419&r1=38418&r2=38419&view=diff
==============================================================================
--- hlvm/trunk/test/return0/complement.hlx (original)
+++ hlvm/trunk/test/return0/complement.hlx Sat Jul 7 19:03:12 2007
@@ -7,9 +7,7 @@
<result>
<cmpl>
<cmpl>
- <load>
- <get id="v"/>
- </load>
+ <get id="v"/>
</cmpl>
</cmpl>
</result>
Modified: hlvm/trunk/test/return0/continue.hlx
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/test/return0/continue.hlx?rev=38419&r1=38418&r2=38419&view=diff
==============================================================================
--- hlvm/trunk/test/return0/continue.hlx (original)
+++ hlvm/trunk/test/return0/continue.hlx Sat Jul 7 19:03:12 2007
@@ -12,7 +12,10 @@
<ne><get id="1"/><get id="0"/></ne>
<block>
<select>
- <gt><load><get id="count"/></load><get id="0"/></gt>
+ <gt>
+ <get id="count"/>
+ <get id="0"/>
+ </gt>
<block>
<postdec><get id="count"/></postdec>
<continue/>
Modified: hlvm/trunk/test/return0/helloworld.hlx
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/test/return0/helloworld.hlx?rev=38419&r1=38418&r2=38419&view=diff
==============================================================================
--- hlvm/trunk/test/return0/helloworld.hlx (original)
+++ hlvm/trunk/test/return0/helloworld.hlx Sat Jul 7 19:03:12 2007
@@ -19,11 +19,11 @@
<open><get id="stdout"/></open>
</store>
<write>
- <load><get id="out"/></load>
+ <get id="out"/>
<get id="hw"/>
</write>
<close>
- <load><get id="out"/></load>
+ <get id="out"/>
</close>
<result>
<get id="zero"/>
Modified: hlvm/trunk/test/xml2xml/arithmetic.hlx
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/test/xml2xml/arithmetic.hlx?rev=38419&r1=38418&r2=38419&view=diff
==============================================================================
--- hlvm/trunk/test/xml2xml/arithmetic.hlx (original)
+++ hlvm/trunk/test/xml2xml/arithmetic.hlx Sat Jul 7 19:03:12 2007
@@ -24,82 +24,46 @@
<get id="v2"/>
</predec>
<neg>
- <load>
- <get id="v1"/>
- </load>
+ <get id="v1"/>
</neg>
<cmpl>
- <load>
- <get id="v2"/>
- </load>
+ <get id="v2"/>
</cmpl>
<add>
- <load>
- <get id="v1"/>
- </load>
+ <get id="v1"/>
<get id="one"/>
</add>
<sub>
- <load>
- <get id="v1"/>
- </load>
+ <get id="v1"/>
<get id="one"/>
</sub>
<mul>
- <load>
- <get id="v1"/>
- </load>
- <load>
- <get id="v2"/>
- </load>
+ <get id="v1"/>
+ <get id="v2"/>
</mul>
<div>
- <load>
- <get id="v1"/>
- </load>
- <load>
- <get id="v2"/>
- </load>
+ <get id="v1"/>
+ <get id="v2"/>
</div>
<mod>
- <load>
- <get id="v1"/>
- </load>
- <load>
- <get id="v2"/>
- </load>
+ <get id="v1"/>
+ <get id="v2"/>
</mod>
<band>
- <load>
- <get id="v1"/>
- </load>
- <load>
- <get id="v2"/>
- </load>
+ <get id="v1"/>
+ <get id="v2"/>
</band>
<bor>
- <load>
- <get id="v1"/>
- </load>
- <load>
- <get id="v2"/>
- </load>
+ <get id="v1"/>
+ <get id="v2"/>
</bor>
<bxor>
- <load>
- <get id="v1"/>
- </load>
- <load>
- <get id="v2"/>
- </load>
+ <get id="v1"/>
+ <get id="v2"/>
</bxor>
<bnor>
- <load>
- <get id="v1"/>
- </load>
- <load>
- <get id="v2"/>
- </load>
+ <get id="v1"/>
+ <get id="v2"/>
</bnor>
<result>
<get id="result"/>
Modified: hlvm/trunk/test/xml2xml/autovar.hlx
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/test/xml2xml/autovar.hlx?rev=38419&r1=38418&r2=38419&view=diff
==============================================================================
--- hlvm/trunk/test/xml2xml/autovar.hlx (original)
+++ hlvm/trunk/test/xml2xml/autovar.hlx Sat Jul 7 19:03:12 2007
@@ -5,9 +5,7 @@
<block>
<autovar id="v1" type="s32"/>
<result>
- <load>
- <get id="v1"/>
- </load>
+ <get id="v1"/>
</result>
<ret/>
</block>
Modified: hlvm/trunk/test/xml2xml/booleanops.hlx
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/test/xml2xml/booleanops.hlx?rev=38419&r1=38418&r2=38419&view=diff
==============================================================================
--- hlvm/trunk/test/xml2xml/booleanops.hlx (original)
+++ hlvm/trunk/test/xml2xml/booleanops.hlx Sat Jul 7 19:03:12 2007
@@ -19,89 +19,47 @@
<get id="false"/>
</autovar>
<not>
- <load>
- <get id="v1"/>
- </load>
+ <get id="v1"/>
</not>
<and>
- <load>
- <get id="v1"/>
- </load>
- <load>
- <get id="v2"/>
- </load>
+ <get id="v1"/>
+ <get id="v2"/>
</and>
<or>
- <load>
- <get id="v1"/>
- </load>
- <load>
- <get id="v2"/>
- </load>
+ <get id="v1"/>
+ <get id="v2"/>
</or>
<nor>
- <load>
- <get id="v1"/>
- </load>
- <load>
- <get id="v2"/>
- </load>
+ <get id="v1"/>
+ <get id="v2"/>
</nor>
<xor>
- <load>
- <get id="v1"/>
- </load>
- <load>
- <get id="v2"/>
- </load>
+ <get id="v1"/>
+ <get id="v2"/>
</xor>
<eq>
- <load>
- <get id="v1"/>
- </load>
- <load>
- <get id="v2"/>
- </load>
+ <get id="v1"/>
+ <get id="v2"/>
</eq>
<ne>
- <load>
- <get id="v1"/>
- </load>
- <load>
- <get id="v2"/>
- </load>
+ <get id="v1"/>
+ <get id="v2"/>
</ne>
<gt>
- <load>
- <get id="v1"/>
- </load>
- <load>
- <get id="v2"/>
- </load>
+ <get id="v1"/>
+ <get id="v2"/>
</gt>
<lt>
- <load>
- <get id="v1"/>
- </load>
- <load>
- <get id="v2"/>
- </load>
+ <get id="v1"/>
+ <get id="v2"/>
</lt>
<ge>
- <load>
- <get id="v1"/>
- </load>
- <load>
- <get id="v2"/>
- </load>
+ <get id="v1"/>
+ <get id="v2"/>
</ge>
<le>
- <load>
- <get id="v1"/>
- </load>
- <load>
- <get id="v2"/>
- </load>
+ <get id="v1"/>
+ <get id="v2"/>
</le>
<result>
<get id="result"/>
Modified: hlvm/trunk/test/xml2xml/helloworld.hlx
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/test/xml2xml/helloworld.hlx?rev=38419&r1=38418&r2=38419&view=diff
==============================================================================
--- hlvm/trunk/test/xml2xml/helloworld.hlx (original)
+++ hlvm/trunk/test/xml2xml/helloworld.hlx Sat Jul 7 19:03:12 2007
@@ -20,15 +20,11 @@
</open>
</store>
<write>
- <load>
- <get id="out"/>
- </load>
+ <get id="out"/>
<get id="hw"/>
</write>
<close>
- <load>
- <get id="out"/>
- </load>
+ <get id="out"/>
</close>
<result>
<get id="0"/>
More information about the llvm-commits
mailing list