diff options
author | Craig Topper <craig.topper@intel.com> | 2018-07-14 06:30:30 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2018-07-14 06:30:30 +0000 |
commit | 7426cf6717c341717f852142d8d11e81f0d67590 (patch) | |
tree | 8eee1a580d50028e2d4e353710b1c03ec4d33f31 /llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp | |
parent | d8098f979906c458406fab4ab0773e350cb294a6 (diff) | |
download | bcm5719-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/Transforms/Utils/EntryExitInstrumenter.cpp')
0 files changed, 0 insertions, 0 deletions