[PATCH] D24462: [ARM] Don't convert switches to lookup tables of pointers with ROPI/RWPI

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 19 16:42:26 PDT 2016


efriedma added a subscriber: efriedma.
efriedma requested changes to this revision.
efriedma added a reviewer: efriedma.
efriedma added a comment.
This revision now requires changes to proceed.

Checking the type doesn't make sense; consider what happens if you have a PHI node with an operand `i32 ptrtoint (i32* @g)`.


Repository:
  rL LLVM

https://reviews.llvm.org/D24462





More information about the llvm-commits mailing list