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:
bdf8198
)
[PowerPC][NFC] Update testcase to avoid dead code
author
Jinsong Ji
<jji@us.ibm.com>
Thu, 11 Jul 2019 19:16:33 +0000
(19:16 +0000)
committer
Jinsong Ji
<jji@us.ibm.com>
Thu, 11 Jul 2019 19:16:33 +0000
(19:16 +0000)
The original testcase might be optimized out due to dead code,
update the testcase to avoid it.
llvm-svn: 365810
llvm/test/CodeGen/PowerPC/sms-iterator.ll
patch
|
blob
|
history
diff --git
a/llvm/test/CodeGen/PowerPC/sms-iterator.ll
b/llvm/test/CodeGen/PowerPC/sms-iterator.ll
index
1210ed9
..
6d025a4
100644
(file)
--- a/
llvm/test/CodeGen/PowerPC/sms-iterator.ll
+++ b/
llvm/test/CodeGen/PowerPC/sms-iterator.ll
@@
-7,7
+7,7
@@
; CHECK: MII = 8 MAX_II = 18
-define dso_local fastcc
void
@_ZN3povL9polysolveEiPdS0_() unnamed_addr #0 {
+define dso_local fastcc
double
@_ZN3povL9polysolveEiPdS0_() unnamed_addr #0 {
br label %1
1: ; preds = %1, %0
@@
-32,5
+32,5
@@
define dso_local fastcc void @_ZN3povL9polysolveEiPdS0_() unnamed_addr #0 {
14: ; preds = %3, %2
%15 = phi double [ undef, %2 ], [ %11, %3 ]
%16 = fmul fast double %15, undef
- ret
void
+ ret
double %16
}