[PATCH] D27499: CFI-icall on Thumb

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 7 14:08:28 PST 2016


pcc added inline comments.


================
Comment at: lib/Transforms/IPO/LowerTypeTests.cpp:654
     default:
       report_fatal_error("Unsupported architecture for jump tables");
   }
----------------
I suspect that we will want to land here for thumbv5, at least until/unless we have an implementation of jump tables for that architecture.


================
Comment at: test/Transforms/LowerTypeTests/function.ll:86
   ; X86: sub i64 {{.*}}, ptrtoint ([2 x [8 x i8]]* @.cfi.jumptable to i64)
-  ; ARM: sub i64 {{.*}}, ptrtoint ([2 x [4 x i8]]* @.cfi.jumptable to i64)
+  ; ARM-NATIVE: sub i64 {{.*}}, ptrtoint ([2 x [4 x i8]]* @.cfi.jumptable to i64)
   ; WASM32: sub i64 {{.*}}, 1
----------------
`ARM:` here?


Repository:
  rL LLVM

https://reviews.llvm.org/D27499





More information about the llvm-commits mailing list