Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Side by Side Diff: crosstest/test_arith_sqrt.ll

Issue 384443003: Add scalar lowering for sqrt intrinsic. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: add space Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 target triple = "i686-pc-linux-gnu"
2
3 declare float @llvm.sqrt.f32(float)
4 declare double @llvm.sqrt.f64(double)
5
6 define float @_Z6mySqrtf(float %a) {
7 %x = call float @llvm.sqrt.f32(float %a)
8 ret float %x
9 }
10
11 define double @_Z6mySqrtd(double %a) {
12 %x = call double @llvm.sqrt.f64(double %a)
13 ret double %x
14 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698