mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 05:22:04 +00:00
Eliminate uses of %prcontext.
- I'd appreciate it if someone else eyeballs my changes to make sure I captured the intent of the test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81083 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | opt -simplify-libcalls-halfpowr | llvm-dis | %prcontext {mul float} 1 | grep {mul float} | count 8
|
||||
; RUN: opt -simplify-libcalls-halfpowr %s | llvm-dis | FileCheck %s
|
||||
|
||||
define float @__half_powrf4(float %f, float %g) nounwind readnone {
|
||||
entry:
|
||||
@@ -12,6 +12,11 @@ bb: ; preds = %entry
|
||||
bb1: ; preds = %bb, %entry
|
||||
%f_addr.0 = phi float [ %1, %bb ], [ %f, %entry ] ; <float> [#uses=1]
|
||||
%2 = fmul float %f_addr.0, %g ; <float> [#uses=1]
|
||||
; CHECK: fmul float %f_addr
|
||||
; CHECK: fmul float %f_addr
|
||||
; CHECK: fmul float %f_addr
|
||||
; CHECK: fmul float %f_addr
|
||||
|
||||
ret float %2
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user