commit | 7e4820c1a6a9d561b5ca989bed0425f7f97c0537 | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Tue Mar 17 21:30:21 2015 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Tue Mar 17 21:30:21 2015 +0000 |
tree | 224d83260b8e676e47ec52345c5b8a72e7fcc932 | |
parent | 17913067f5050081771b4ad7c8499af80a696eea [diff] |
Emit the offset directly instead of creating a dummy expression. We were creating an expression of the form (S+C)-S which is just C. Patch by Frédéric Riss. I just added the testcase. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232549 91177308-0d34-0410-b5e6-96231b3b80d8