[llvm-commits] CVS: llvm/lib/Target/ARM/ARMConstantIslandPass.cpp

Evan Cheng evan.cheng at apple.com
Thu Jan 25 11:44:08 PST 2007



Changes in directory llvm/lib/Target/ARM:

ARMConstantIslandPass.cpp updated: 1.3 -> 1.4
---
Log message:

Doh. Skip JT branches.

---
Diffs of the changes:  (+2 -1)

 ARMConstantIslandPass.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
diff -u llvm/lib/Target/ARM/ARMConstantIslandPass.cpp:1.3 llvm/lib/Target/ARM/ARMConstantIslandPass.cpp:1.4
--- llvm/lib/Target/ARM/ARMConstantIslandPass.cpp:1.3	Wed Jan 24 21:12:46 2007
+++ llvm/lib/Target/ARM/ARMConstantIslandPass.cpp	Thu Jan 25 13:43:52 2007
@@ -238,7 +238,8 @@
         unsigned Scale = 1;
         int UOpc = Opc;
         switch (Opc) {
-        default: break; // Ignore JT branches
+        default:
+          continue;  // Ignore JT branches
         case ARM::Bcc:
           isCond = true;
           UOpc = ARM::B;






More information about the llvm-commits mailing list