]> granicus.if.org Git - llvm/commitdiff
[Hexagon] Use -mattr to select HVX mode in a testcase, NFC
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Wed, 5 Apr 2017 19:46:37 +0000 (19:46 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Wed, 5 Apr 2017 19:46:37 +0000 (19:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299582 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/Hexagon/eliminate-pred-spill.ll

index 6fb0a3e2658d642b31b6bb9e16082db47a97bc48..b3a4a2f4252494bfe0439bd127e1966e1fb75b84 100644 (file)
@@ -1,5 +1,4 @@
-; RUN: llc -march=hexagon -mcpu=hexagonv60 -enable-hexagon-hvx-double \
-; RUN:     -hexagon-bit=0 < %s | FileCheck %s
+; RUN: llc -march=hexagon -hexagon-bit=0 < %s | FileCheck %s
 
 ; This spill should be eliminated.
 ; CHECK-NOT: vmem(r29+#6)
@@ -140,5 +139,5 @@ declare <64 x i32> @llvm.hexagon.V6.vmpyuh.acc.128B(<64 x i32>, <32 x i32>, i32)
 
 declare <32 x i32> @llvm.hexagon.V6.hi.128B(<64 x i32>) #1
 
-attributes #0 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" }
+attributes #0 = { nounwind "target-cpu"="hexagonv60" "target-features"="+hvx,+hvx-double" }
 attributes #1 = { nounwind readnone }