diff options
author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2015-06-13 01:16:10 +0000 |
---|---|---|
committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2015-06-13 01:16:10 +0000 |
commit | f6a9f0e112f396471709c7f5897375dceba9f251 (patch) | |
tree | 23f946c336d3bc3b8a7689ee0c3a9088bc407e91 /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | bfb5368cc7504728b73374e5c204dd957a652325 (diff) | |
download | llvm-f6a9f0e112f396471709c7f5897375dceba9f251.zip llvm-f6a9f0e112f396471709c7f5897375dceba9f251.tar.gz llvm-f6a9f0e112f396471709c7f5897375dceba9f251.tar.bz2 |
[CodeGen] Don't evaluate immediate inlineasm arguments using isICE().
Instead, just EvaluateAsInt().
Follow-up to r239549: rsmith points out that isICE() is expensive;
seems like it's not the right concept anyway, as it fails on
`static const' in C, and will actually trigger the assert below on:
test/Sema/inline-asm-validate-x86.c
llvm-svn: 239651
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions