aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
diff options
context:
space:
mode:
authorAhmed Bougacha <ahmed.bougacha@gmail.com>2015-06-11 18:19:34 +0000
committerAhmed Bougacha <ahmed.bougacha@gmail.com>2015-06-11 18:19:34 +0000
commitff75f3dd6c3bd7a51839765d2f1f4e427888dfa4 (patch)
treeffb97de86cfa349652d63ea2788965a818176de0 /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
parent89e39a7d6f6d7bc67db423d8b82124136d0076b0 (diff)
downloadllvm-ff75f3dd6c3bd7a51839765d2f1f4e427888dfa4.zip
llvm-ff75f3dd6c3bd7a51839765d2f1f4e427888dfa4.tar.gz
llvm-ff75f3dd6c3bd7a51839765d2f1f4e427888dfa4.tar.bz2
[CodeGen] Emit Constants for immediate inlineasm arguments.
For inline assembly immediate constraints, we currently always use EmitScalarExpr, instead of directly emitting the constant. When the overflow sanitizer is enabled, this generates overflow intrinsics instead of constants. Instead, emit a constant for constraints that either require an immediate (e.g. 'I' on X86), or only accepts constants (immediate or symbolic; i.e., don't accept registers or memory). Fixes PR19763. Differential Revision: http://reviews.llvm.org/D10255 llvm-svn: 239549
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
0 files changed, 0 insertions, 0 deletions