[PATCH] D55521: Cleanup test case by removing unused attribute

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 11 01:37:49 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL348835: Cleanup test case by removing unused attribute dso_local (authored by rsingh, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D55521?vs=177549&id=177671#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55521/new/

https://reviews.llvm.org/D55521

Files:
  llvm/trunk/test/Analysis/ConstantFolding/func-and-folding.ll


Index: llvm/trunk/test/Analysis/ConstantFolding/func-and-folding.ll
===================================================================
--- llvm/trunk/test/Analysis/ConstantFolding/func-and-folding.ll
+++ llvm/trunk/test/Analysis/ConstantFolding/func-and-folding.ll
@@ -1,19 +1,19 @@
 ; RUN: opt < %s -constprop -S -o - | FileCheck %s
 
 ; Function Attrs: minsize norecurse nounwind optsize readnone
-define dso_local void @foo1() #0 {
+define void @foo1() #0 {
 entry:
   ret void
 }
 
 ; Function Attrs: minsize norecurse nounwind optsize readnone
-define dso_local void @foo2() align 4 {
+define void @foo2() align 4 {
 entry:
   ret void
 }
 
 ; Function Attrs: minsize nounwind optsize
-define dso_local i32 @main() local_unnamed_addr #1 {
+define i32 @main() local_unnamed_addr #1 {
 entry:
 ; CHECK: ptrtoint
   %call = tail call i32 bitcast (i32 (...)* @process to i32 (i32)*)(i32 and (i32 ptrtoint (void ()* @foo1 to i32), i32 2)) #3
@@ -23,5 +23,5 @@
 }
 
 ; Function Attrs: minsize optsize
-declare dso_local i32 @process(...) local_unnamed_addr #2
+declare i32 @process(...) local_unnamed_addr #2
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55521.177671.patch
Type: text/x-patch
Size: 1111 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181211/21c9868c/attachment.bin>


More information about the llvm-commits mailing list