mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Besides removing phi cycles that reduce to a single value, also remove dead
phi cycles. Adjust a few tests to keep dead instructions from being optimized away. This (together with my previous change for phi cycles) fixes Apple radar 7627077. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96057 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -20,7 +20,7 @@ bb: ; preds = %bb9.i, %entry
|
||||
|
||||
bb9.i: ; preds = %bb
|
||||
%2 = fsub double %.rle4, %0 ; <double> [#uses=0]
|
||||
%3 = tail call double @asin(double 0.000000e+00) nounwind readonly ; <double> [#uses=0]
|
||||
%3 = tail call double @asin(double %.rle4) nounwind readonly ; <double> [#uses=0]
|
||||
%4 = fmul double 0.000000e+00, %0 ; <double> [#uses=1]
|
||||
%5 = tail call double @tan(double 0.000000e+00) nounwind readonly ; <double> [#uses=0]
|
||||
%6 = fmul double %4, 0.000000e+00 ; <double> [#uses=1]
|
||||
|
Reference in New Issue
Block a user