summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SplitKit.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2011-05-02 05:24:47 +0000
committerNick Lewycky <nicholas@mxc.ca>2011-05-02 05:24:47 +0000
commite75ffa1b78234a4b20e8407881dcd42069612006 (patch)
treea531e2268257bc862d51f4b713beb41c24c96cee /llvm/lib/CodeGen/SplitKit.cpp
parent5f1eb968f0a557758ed330a720c9a32602d1dd38 (diff)
downloadbcm5719-llvm-e75ffa1b78234a4b20e8407881dcd42069612006.tar.gz
bcm5719-llvm-e75ffa1b78234a4b20e8407881dcd42069612006.zip
In option typo correction, consider -foo=VALUE flags as two distinct parts. The
comments claimed it did this, but the LHS value was actually an unused variable. The new system considers only the '-foo' part when comparing it for typos against flags that have values, but still look at the whole string for flags that don't. That way, we'll still correct '-inst=combine' to '-instcombine'. llvm-svn: 130685
Diffstat (limited to 'llvm/lib/CodeGen/SplitKit.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud