[PATCH] D50405: [Hexagon] Diagnose misaligned absolute loads and stores

JF Bastien via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 8 13:57:45 PDT 2018


jfb added a comment.

In https://reviews.llvm.org/D50405#1192937, @kparzysz wrote:

> This issue was detected in a customer code and it was actually a bug in it.  We've decided to go this route to make it easier for customers to see what the problem is (and this scenario is almost guaranteed to be a source code bug).


As @efriedma points out that's weird compared to the rest of LLVM. It'll be dependent on optimization levels, and might occur in dynamically-unreachable code. Can you instead detect this and transform it to a trap?


Repository:
  rL LLVM

https://reviews.llvm.org/D50405





More information about the llvm-commits mailing list