summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
diff options
context:
space:
mode:
authorNadav Rotem <nadav.rotem@intel.com>2011-02-11 19:20:37 +0000
committerNadav Rotem <nadav.rotem@intel.com>2011-02-11 19:20:37 +0000
commit18f6a33457593e4987582b8808168012597064c8 (patch)
treedee6d71ae81d027c5aade1b92f5a2167a75c99a5 /clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
parent298251cd9ba0e50b3492208cb59dd82a43c2ad0e (diff)
downloadbcm5719-llvm-18f6a33457593e4987582b8808168012597064c8.tar.gz
bcm5719-llvm-18f6a33457593e4987582b8808168012597064c8.zip
Fix #9190
The bug happens when the DAGCombiner attempts to optimize one of the patterns of the SUB opcode. It tries to create a zero of type v2i64. This type is legal on 32bit machines, but the initializer of this vector (i64) is target dependent. Currently, the initializer attempts to create an i64 zero constant, which fails. Added a flag to tell the DAGCombiner to create a legal zero, if we require that the pass would generate legal types. llvm-svn: 125391
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud