blob: 67f70e9eb5ed2d99ae7b3928fcc43db9819d9ace [file] [log] [blame]
Dan Gohmanfce288f2009-09-09 00:09:15 +00001; RUN: llc < %s -march=arm | grep moveq
2; RUN: llc < %s -march=arm -mattr=+vfp2 | grep movvs
Rafael Espindola9985f9f2006-12-31 18:52:39 +00003
Reid Spencere3ff5ad2007-01-26 08:25:06 +00004define i32 @f7(float %a, float %b) {
Rafael Espindola9985f9f2006-12-31 18:52:39 +00005entry:
6 %tmp = fcmp ueq float %a,%b
Reid Spencer737ec512007-01-13 05:06:52 +00007 %retval = select i1 %tmp, i32 666, i32 42
Rafael Espindola9985f9f2006-12-31 18:52:39 +00008 ret i32 %retval
9}
10