[PATCH] D73664: [PowerPC][Future] Add Support For Functions That Do Not Use A TOC.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 10 17:07:02 PST 2020


efriedma added inline comments.


================
Comment at: llvm/test/MC/PowerPC/ppc64-localentry-error1.s:10
 
-# CHECK: LLVM ERROR: .localentry expression cannot be encoded.
+# CHECK: LLVM ERROR: .localentry expression is not a valid power of 2.
 
----------------
Only loosely related to this patch, but using report_fatal_error isn't user-friendly.  We should print a proper parse error using reportError or something like that, if a user writes `.localentry foo, 33`


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D73664/new/

https://reviews.llvm.org/D73664





More information about the llvm-commits mailing list