[PATCH] D41296: Limit size of non-GlobalValue name

Hal Finkel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 5 07:35:42 PST 2018


hfinkel added inline comments.


================
Comment at: test/Bitcode/value-with-long-name.ll:7
+
+; CHECK-NOT: %{{[a-z][a-z]+}}
+
----------------
This test is a bit odd. Why not using two-character names and then check that they're not truncated when you get the max to 2 and they are truncated when you set the max to 1 (or zero).


Repository:
  rL LLVM

https://reviews.llvm.org/D41296





More information about the llvm-commits mailing list