Mercurial > hg > CbC > CbC_llvm
diff test/CodeGen/Mips/mips64r6/compatibility.ll @ 77:54457678186b LLVM3.6
LLVM 3.6
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 08 Sep 2014 22:06:00 +0900 |
parents | |
children | 1172e4bd9c6f |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/CodeGen/Mips/mips64r6/compatibility.ll Mon Sep 08 22:06:00 2014 +0900 @@ -0,0 +1,9 @@ +; RUN: llc -march=mipsel -mcpu=mips64r6 < %s | FileCheck %s +; RUN: not llc -march=mipsel -mcpu=mips64r6 -mattr=+dsp < %s 2>&1 | FileCheck --check-prefix=DSP %s + +; CHECK: foo: +; DSP: MIPS64r6 is not compatible with the DSP ASE + +define void @foo() nounwind { + ret void +}