<div dir="ltr">On Sun, Jul 13, 2014 at 9:17 AM, Yi Kong <span dir="ltr"><<a href="mailto:Yi.Kong@arm.com" target="_blank">Yi.Kong@arm.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Author: kongyi<br>
Date: Sun Jul 13 11:17:30 2014<br>
New Revision: 212909<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=212909&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=212909&view=rev</a><br>
Log:<br>
Add test cases for AArch64 hints codegen<br>
<br>
Modified:<br>
    cfe/trunk/test/CodeGen/builtins-arm64.c<br>
<br>
Modified: cfe/trunk/test/CodeGen/builtins-arm64.c<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/builtins-arm64.c?rev=212909&r1=212908&r2=212909&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/builtins-arm64.c?rev=212909&r1=212908&r2=212909&view=diff</a><br>

==============================================================================<br>
--- cfe/trunk/test/CodeGen/builtins-arm64.c (original)<br>
+++ cfe/trunk/test/CodeGen/builtins-arm64.c Sun Jul 13 11:17:30 2014<br>
@@ -14,3 +14,11 @@ unsigned rbit(unsigned a) {<br>
 unsigned long long rbit64(unsigned long long a) {<br>
   return __builtin_arm_rbit64(a);<br>
 }<br>
+<br>
+void hints() {<br>
+  __builtin_arm_yield();  //CHECK: call {{.*}} @llvm.aarch64.hint(i32 1)<br>
+  __builtin_arm_wfe();    //CHECK: call {{.*}} @llvm.aarch64.hint(i32 2)<br>
+  __builtin_arm_wfi();    //CHECK: call {{.*}} @llvm.aarch64.hint(i32 3)<br>
+  __builtin_arm_sev();    //CHECK: call {{.*}} @llvm.aarch64.hint(i32 4)<br>
+  __builtin_arm_sevl();   //CHECK: call {{.*}} @llvm.aarch64.hint(i32 5)<br>
+}<br></blockquote><div><br></div><div>I am a bit confused by this change.  What does SVN r212890 miss in terms of testing?  test/CodeGen/arm_acle.c already covers all of these, doesn't it?</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<br>
_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Saleem Abdulrasool<br>compnerd (at) compnerd (dot) org
</div></div>