projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67cbe1b
)
[GVN] Fix test case for convergent calls
author
Jay Foad
<jay.foad@amd.com>
Fri, 19 May 2023 15:11:41 +0000
(16:11 +0100)
committer
Jay Foad
<jay.foad@amd.com>
Fri, 19 May 2023 15:15:06 +0000
(16:15 +0100)
Without "willreturn" this did not get as far as testing the convergent
handling in GVN.
llvm/test/Transforms/GVN/pre-skip-convergent.ll
patch
|
blob
|
history
diff --git
a/llvm/test/Transforms/GVN/pre-skip-convergent.ll
b/llvm/test/Transforms/GVN/pre-skip-convergent.ll
index
6ccc818
..
8d384f2
100644
(file)
--- a/
llvm/test/Transforms/GVN/pre-skip-convergent.ll
+++ b/
llvm/test/Transforms/GVN/pre-skip-convergent.ll
@@
-30,6
+30,4
@@
merge:
ret i32 %r0
}
-declare i32 @llvm.convergent(i32) #0
-
-attributes #0 = { convergent nounwind readnone }
+declare i32 @llvm.convergent(i32) convergent nounwind readnone willreturn