<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 22, 2015 at 4:03 PM, Will Dietz <span dir="ltr"><<a href="mailto:wdietz2@illinois.edu" target="_blank">wdietz2@illinois.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: wdietz2<br>
Date: Fri May 22 18:03:51 2015<br>
New Revision: 238067<br>
<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject-3Frev-3D238067-26view-3Drev&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=bUhQFzKeB9z8Xr_fEW2bhjEXc_vBeWrkVesc8Wuqh0A&s=oh1qP9ZTOH2Hcd5zyoMrF3S1MumwBOtyhX9sE50Puso&e=" target="_blank">http://llvm.org/viewvc/llvm-project?rev=238067&view=rev</a><br>
Log:<br>
Revert r238057, pending further investigation.<br></blockquote><div><br>Helpful to mention the purpose (or quote the topic, etc) of the original commit and why it needed to be reverted (link to failing buildbot, etc)<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Removed:<br>
    poolalloc/trunk/test/dsa/callgraph/addrtaken_caller.ll<br>
    poolalloc/trunk/test/dsa/callgraph/addrtaken_main.ll<br>
<br>
Removed: poolalloc/trunk/test/dsa/callgraph/addrtaken_caller.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_poolalloc_trunk_test_dsa_callgraph_addrtaken-5Fcaller.ll-3Frev-3D238066-26view-3Dauto&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=bUhQFzKeB9z8Xr_fEW2bhjEXc_vBeWrkVesc8Wuqh0A&s=VGPQAfH3Mx9uyXiCJb1xaB_7xzSKglk3Td7qjDSUeh8&e=" target="_blank">http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/callgraph/addrtaken_caller.ll?rev=238066&view=auto</a><br>
==============================================================================<br>
--- poolalloc/trunk/test/dsa/callgraph/addrtaken_caller.ll (original)<br>
+++ poolalloc/trunk/test/dsa/callgraph/addrtaken_caller.ll (removed)<br>
@@ -1,49 +0,0 @@<br>
-;RUN: dsaopt %s -dsa-td -analyze -check-callees=run_func,f1<br>
-;RUN: dsaopt %s -dsa-td -analyze -check-not-callees=run_func,main<br>
-<br>
-target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"<br>
-target triple = "x86_64-unknown-linux-gnu"<br>
-<br>
-@.str = private unnamed_addr constant [10 x i8] c"Main: %p\0A\00", align 1<br>
-@.str1 = private unnamed_addr constant [10 x i8] c"Sum:  %d\0A\00", align 1<br>
-<br>
-; Function Attrs: nounwind uwtable<br>
-define internal i32 @main(i32 %argc, i8** %argv) #0 {<br>
-entry:<br>
-       %call = call i32 @main2(i32 %argc, i8** %argv)<br>
-       ret i32 %call<br>
-}<br>
-<br>
-define internal i32 @main2(i32 %argc, i8** %argv) #0 {<br>
-entry:<br>
-  %call = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i32 0, i32 0), i32 (i32, i8**)* @main2)<br>
-  %call1 = call i32 @foo()<br>
-  %call2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str1, i32 0, i32 0), i32 %call1)<br>
-  ret i32 0<br>
-}<br>
-<br>
-declare i32 @printf(i8*, ...)<br>
-<br>
-; Function Attrs: noinline nounwind uwtable<br>
-define internal i32 @foo() #1 {<br>
-entry:<br>
-  %call = call i32 @run_func(i32 (i32, i32)* @f1, i32 1, i32 2)<br>
-  ret i32 %call<br>
-}<br>
-<br>
-; Function Attrs: noinline nounwind uwtable<br>
-define internal i32 @run_func(i32 (i32, i32)* %fptr, i32 %arg1, i32 %arg2) #1 {<br>
-entry:<br>
-  %call = call i32 %fptr(i32 %arg1, i32 %arg2)<br>
-  ret i32 %call<br>
-}<br>
-<br>
-; Function Attrs: noinline nounwind uwtable<br>
-define internal i32 @f1(i32 %arg1, i32 %arg2) #1 {<br>
-entry:<br>
-  %add = add nsw i32 %arg1, %arg2<br>
-  ret i32 %add<br>
-}<br>
-<br>
-attributes #0 = { nounwind uwtable }<br>
-attributes #1 = { noinline nounwind uwtable }<br>
<br>
Removed: poolalloc/trunk/test/dsa/callgraph/addrtaken_main.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_poolalloc_trunk_test_dsa_callgraph_addrtaken-5Fmain.ll-3Frev-3D238066-26view-3Dauto&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=bUhQFzKeB9z8Xr_fEW2bhjEXc_vBeWrkVesc8Wuqh0A&s=tMwv3of57wbANYBuyNRRH4F_9balh3Egkkcy90B4BmM&e=" target="_blank">http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/callgraph/addrtaken_main.ll?rev=238066&view=auto</a><br>
==============================================================================<br>
--- poolalloc/trunk/test/dsa/callgraph/addrtaken_main.ll (original)<br>
+++ poolalloc/trunk/test/dsa/callgraph/addrtaken_main.ll (removed)<br>
@@ -1,45 +0,0 @@<br>
-;RUN: dsaopt %s -dsa-td -analyze -check-callees=run_func,f1<br>
-;RUN: dsaopt %s -dsa-td -analyze -check-not-callees=run_func,main<br>
-; Bad things happen when main is externally reachable.<br>
-;XFAIL: *<br>
-<br>
-target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"<br>
-target triple = "x86_64-unknown-linux-gnu"<br>
-<br>
-@.str = private unnamed_addr constant [10 x i8] c"Main: %p\0A\00", align 1<br>
-@.str1 = private unnamed_addr constant [10 x i8] c"Sum:  %d\0A\00", align 1<br>
-<br>
-; Function Attrs: nounwind uwtable<br>
-define internal i32 @main(i32 %argc, i8** %argv) #0 {<br>
-entry:<br>
-  %call = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i32 0, i32 0), i32 (i32, i8**)* @main)<br>
-  %call1 = call i32 @foo()<br>
-  %call2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str1, i32 0, i32 0), i32 %call1)<br>
-  ret i32 0<br>
-}<br>
-<br>
-declare i32 @printf(i8*, ...)<br>
-<br>
-; Function Attrs: noinline nounwind uwtable<br>
-define internal i32 @foo() #1 {<br>
-entry:<br>
-  %call = call i32 @run_func(i32 (i32, i32)* @f1, i32 1, i32 2)<br>
-  ret i32 %call<br>
-}<br>
-<br>
-; Function Attrs: noinline nounwind uwtable<br>
-define internal i32 @run_func(i32 (i32, i32)* %fptr, i32 %arg1, i32 %arg2) #1 {<br>
-entry:<br>
-  %call = call i32 %fptr(i32 %arg1, i32 %arg2)<br>
-  ret i32 %call<br>
-}<br>
-<br>
-; Function Attrs: noinline nounwind uwtable<br>
-define internal i32 @f1(i32 %arg1, i32 %arg2) #1 {<br>
-entry:<br>
-  %add = add nsw i32 %arg1, %arg2<br>
-  ret i32 %add<br>
-}<br>
-<br>
-attributes #0 = { nounwind uwtable }<br>
-attributes #1 = { noinline nounwind uwtable }<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div></div>