[PATCH] D50524: [Hexagon] Replace fatal error with remark in HexagonISelLowering

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 10 13:29:31 PDT 2018


efriedma added a comment.

Example of what I mean; build with `clang --target=hexagon -S -O2`:

  int a(int f(void)) { int *p = (int*)0x123450; if (f()) { f(); p = (int*)0x123456; } return *p; }

Produces:

  {
          r0 = ##1193046
          r17:16 = memd(r29+#0)
  }                               // 8-byte Folded Reload
  {
          r0 = memw(r0+#0)
          dealloc_return
  }


Repository:
  rL LLVM

https://reviews.llvm.org/D50524





More information about the llvm-commits mailing list