aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-11-13 21:52:36 +0000
committerDale Johannesen <dalej@apple.com>2008-11-13 21:52:36 +0000
commit73920c0bf73941e9fc5d0b101b40794278cf9dc0 (patch)
treecb0a421c8c7e743a5a1f73ae49903d667428ac2d /include/llvm
parent6e4b7632836b78f1c29b3ed72ca21ae67d4d2d34 (diff)
downloadexternal_llvm-73920c0bf73941e9fc5d0b101b40794278cf9dc0.zip
external_llvm-73920c0bf73941e9fc5d0b101b40794278cf9dc0.tar.gz
external_llvm-73920c0bf73941e9fc5d0b101b40794278cf9dc0.tar.bz2
Extend InlineAsm::C_Register to allow multiple specific registers
(actually, code already all worked, only the comment changed). Use this to implement 'A' constraint on x86. Fixes PR 1779. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59266 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Target/TargetLowering.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h
index b5cc14e..0e36b68 100644
--- a/include/llvm/Target/TargetLowering.h
+++ b/include/llvm/Target/TargetLowering.h
@@ -1207,8 +1207,8 @@ public:
//
enum ConstraintType {
- C_Register, // Constraint represents a single register.
- C_RegisterClass, // Constraint represents one or more registers.
+ C_Register, // Constraint represents specific register(s).
+ C_RegisterClass, // Constraint represents any of register(s) in class.
C_Memory, // Memory constraint.
C_Other, // Something else.
C_Unknown // Unsupported constraint.