This should just work, since ARM mode and Thumb2 mode are at the same
level of support now and should map the same to GPR and FPR.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@357159
91177308-0d34-0410-b5e6-
96231b3b80d8
# RUN: llc -mtriple arm-- -run-pass=regbankselect %s -o - | FileCheck %s
+# RUN: llc -mtriple thumbv7-- -run-pass=regbankselect %s -o - | FileCheck %s
--- |
define void @test_add_s32() { ret void }
define void @test_sub_s32() { ret void }
define void @test_soft_fp_s64() #0 { ret void }
attributes #0 = { "target-features"="+vfp2"}
- attributes #1 = { "target-features"="+hwdiv-arm" }
+ attributes #1 = { "target-features"="+hwdiv-arm,+hwdiv" }
attributes #2 = { "target-features"="+vfp4"}
attributes #3 = { "target-features"="+v5t"}
...