Change getStringRepresentation to skip defaults.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 19 Dec 2013 23:03:03 +0000 (23:03 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 19 Dec 2013 23:03:03 +0000 (23:03 +0000)
commitb9df9e68e706d115e98844e4ec3873b6bf56b349
tree3e6057d3412504b825428343c37d03b925136c80
parenta25701bc428eced8b57ec8b54fad7a4c23ec7e9d
Change getStringRepresentation to skip defaults.

I have a pending change for clang to use getStringRepresentation to check
that its DataLayout is in sync with llvm's.

getStringRepresentation is not called from llvm itself, so far it is mostly
a debugging aid, so the shorter strings are an independent improvement.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197740 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/DataLayout.cpp