diff options
| author | Florian Hahn <florian.hahn@arm.com> | 2018-07-25 19:44:19 +0000 |
|---|---|---|
| committer | Florian Hahn <florian.hahn@arm.com> | 2018-07-25 19:44:19 +0000 |
| commit | b6613ac665cfad86260a3ab61b8eb43c61c5a0fe (patch) | |
| tree | 92fff02477b9424e521d2647c09f5bf11e31f185 /llvm/test/Transforms/IPConstantProp | |
| parent | 8b6a5bf91686da42b74e9124beafdf431c753a51 (diff) | |
| download | bcm5719-llvm-b6613ac665cfad86260a3ab61b8eb43c61c5a0fe.tar.gz bcm5719-llvm-b6613ac665cfad86260a3ab61b8eb43c61c5a0fe.zip | |
Revert r337904: [IPSCCP] Use PredicateInfo to propagate facts from cmp instructions.
I suspect it is causing the clang-stage2-Rthinlto failures.
llvm-svn: 337956
Diffstat (limited to 'llvm/test/Transforms/IPConstantProp')
| -rw-r--r-- | llvm/test/Transforms/IPConstantProp/musttail-call.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Transforms/IPConstantProp/musttail-call.ll b/llvm/test/Transforms/IPConstantProp/musttail-call.ll index 567ca408099..75877585710 100644 --- a/llvm/test/Transforms/IPConstantProp/musttail-call.ll +++ b/llvm/test/Transforms/IPConstantProp/musttail-call.ll @@ -9,7 +9,7 @@ define i8* @start(i8 %v) { %c1 = icmp eq i8 %v, 0 br i1 %c1, label %true, label %false true: - ; CHECK: %ca = musttail call i8* @side_effects(i8 0) + ; CHECK: %ca = musttail call i8* @side_effects(i8 %v) ; CHECK: ret i8* %ca %ca = musttail call i8* @side_effects(i8 %v) ret i8* %ca @@ -34,7 +34,7 @@ define internal i8* @side_effects(i8 %v) { ; is always `null`. ; The call can't be removed due to `external` call above, though. - ; CHECK: %ca = musttail call i8* @start(i8 0) + ; CHECK: %ca = musttail call i8* @start(i8 %v) %ca = musttail call i8* @start(i8 %v) ; Thus the result must be returned anyway |

