diff options
author | Chris Lattner <sabre@nondot.org> | 2010-10-02 00:09:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-10-02 00:09:12 +0000 |
commit | 46c5591f0fa2e35367e44234e59bb041d15b778e (patch) | |
tree | 1adf5b2d1bdd9568cbb4c7cb54569a97824442cb /lib/Serialization/ASTWriter.cpp | |
parent | 81134ad7a056e45b7cb4ee1b562ab8c8413d65b7 (diff) |
when expanding a builtin, if the argument is required to be a constant,
force it to be a constant instead of emitting with EmitScalarExpr. In
-ftrapv mode, they are not the same.
This fixes rdar://8478728 + PR8221
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@115388 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ASTWriter.cpp')
0 files changed, 0 insertions, 0 deletions