diff options
author | Hal Finkel <hfinkel@anl.gov> | 2015-01-14 01:07:03 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2015-01-14 01:07:03 +0000 |
commit | 665026838bbbb861a0b4d23910c352ff0df89d70 (patch) | |
tree | b80136d79a54e5c218bffd4469c8604671e5e8b2 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 637e765907b43d4e78914924e1c17918a60713e5 (diff) | |
download | llvm-665026838bbbb861a0b4d23910c352ff0df89d70.zip llvm-665026838bbbb861a0b4d23910c352ff0df89d70.tar.gz llvm-665026838bbbb861a0b4d23910c352ff0df89d70.tar.bz2 |
Adjust ScheduleDAGSDNodes::RegDefIter for patchpoints
PATCHPOINT is a strange pseudo-instruction. Depending on how it is used, and
whether or not the AnyReg calling convention is being used, it might or might
not define a value. However, its TableGen definition says that it defines one
value, and so when it doesn't, the code in ScheduleDAGSDNodes::RegDefIter
becomes confused and the code that uses the RegDefIter will try to get the
register class of the MVT::Other type associated with the PATCHPOINT's chain
result (under certain circumstances).
This will be covered by the PPC64 PatchPoint test cases once that support is
re-committed.
llvm-svn: 225907
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions