It may be an immediate, but it may also be, say, a globalvariable.
This fixes PR31271
Paths
| Differential D27481
[X86] Do not assume "ri" instructions actually have an immediate operand ClosedPublic Authored by mkuper on Dec 6 2016, 1:35 PM.
Details Summary It may be an immediate, but it may also be, say, a globalvariable. This fixes PR31271
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Dec 7 2016, 12:03 AM Closed by commit rL288964: [X86] Do not assume "ri" instructions always have an immediate operand (authored by mkuper). · Explain WhyDec 7 2016, 11:48 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 80636 llvm/trunk/lib/Target/X86/X86InstrBuilder.h
llvm/trunk/lib/Target/X86/X86InstrInfo.cpp
llvm/trunk/test/CodeGen/X86/pr31271.ll
|