commit | e7ac0a94f1dee3fae9292eb8372962b6d70b3e0d | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Fri May 08 15:36:58 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Fri May 08 15:36:58 2009 +0000 |
tree | e7166159934f4487a36f1ee341ceb232f3904c49 | |
parent | 008fc73ac971e5d30c8710e37e1f5f8a843052f1 [diff] |
Fix the atomics sema code to convert operands to the argument types of the underlying _N builtin, not the the type of the pointee of the actual type. This ensures that atomics involving pointers end up using the correct integer type when they are resolved, avoiding aborts in codegen. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71218 91177308-0d34-0410-b5e6-96231b3b80d8