[PATCH] D18407: Add -fno-jump-tables and-fjump-tables flags

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 29 08:18:15 PDT 2016


joker.eph added a subscriber: joker.eph.

================
Comment at: test/CodeGen/nousejumptable.c:43
@@ +42,3 @@
+    break;
+  }
+}
----------------
The only thing this test does is checking for the attribute. All the code is useless. You can have a single function 

```
define void @foo() {
   ret void
}
```

And it should be enough to check that the attribute is added


http://reviews.llvm.org/D18407





More information about the llvm-commits mailing list