Add a fast path to EvaluateSymbolicAdd. This avoids computing symbol addresses
commit10f9cac8721729442aec7a2464f2b77a0fa53ba7
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 2 Dec 2010 07:53:12 +0000 (2 07:53 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 2 Dec 2010 07:53:12 +0000 (2 07:53 +0000)
treec2aaa645e0c2e5c2e10f7787e7d23e2cf7f6bb9b
parent20e97d73ce5e792746d8e376db1eb43968dc2b74
Add a fast path to EvaluateSymbolicAdd. This avoids computing symbol addresses
which then avoids running EnsureValid.
This cuts the assembly time of the testcase in PR8711 from 2:50 minutes to 1
minute.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120697 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCExpr.cpp