summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorPete Cooper <peter_cooper@apple.com>2013-02-22 01:50:38 +0000
committerPete Cooper <peter_cooper@apple.com>2013-02-22 01:50:38 +0000
commit047f81a5dfe84dab8968f7f45a401bd643b27dd8 (patch)
tree08994ee156ba8a9c79554503a6f1f144f50dd0f5 /clang/lib/Frontend/CompilerInvocation.cpp
parenta3bb2b604422789a452d4b269061ad23e96729f7 (diff)
downloadbcm5719-llvm-047f81a5dfe84dab8968f7f45a401bd643b27dd8.tar.gz
bcm5719-llvm-047f81a5dfe84dab8968f7f45a401bd643b27dd8.zip
Fix isa<> check which could never be true.
It was incorrectly checking a Function* being an IntrinsicInst* which isn't possible. It should always have been checking the CallInst* instead. Added test case for x86 which ensures we only get one constant load. It was 2 before this change. rdar://problem/13267920 llvm-svn: 175853
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud