[PATCH] D22122: [SCCP] Teach the pass about bitcasts

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 8 12:36:19 PDT 2016


eli.friedman added a comment.

> SCCP doesn't handle vectors. There's some code for it but it's #if 0'd . I re-enabled that code and tried to build and it passes test suite and it's able to self-host LLVM, so, I'm not entirely sure why that code is disabled and the comments in the code don't help :| Do you happen to know what's the reason?


Just skimming the code, it looks wrong.  Specifically, it looks like it's doing screwy things with undefined values.  (Neither LLVM itself or the test-suite are very good tests for vector workloads.)


Repository:
  rL LLVM

http://reviews.llvm.org/D22122





More information about the llvm-commits mailing list