summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/SourceMgr.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-07-14 06:30:30 +0000
committerCraig Topper <craig.topper@intel.com>2018-07-14 06:30:30 +0000
commit7426cf6717c341717f852142d8d11e81f0d67590 (patch)
tree8eee1a580d50028e2d4e353710b1c03ec4d33f31 /llvm/lib/Support/SourceMgr.cpp
parentd8098f979906c458406fab4ab0773e350cb294a6 (diff)
downloadbcm5719-llvm-7426cf6717c341717f852142d8d11e81f0d67590.tar.gz
bcm5719-llvm-7426cf6717c341717f852142d8d11e81f0d67590.zip
[X86] Fix a subtle bug in the custom execution domain fixing for blends.
The code tried to find the immediate by using getNumOperands() on the MachineInstr, but there might be implicit-defs after the immediate that get counted. Instead use getNumOperands() from the instruction description which will only count the operands that are defined in the td file. llvm-svn: 337088
Diffstat (limited to 'llvm/lib/Support/SourceMgr.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud