summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/asm-modifier-P.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-09 00:27:29 +0000
committerChris Lattner <sabre@nondot.org>2009-07-09 00:27:29 +0000
commitade55bc8dda9da299ded641a5e91e58e80604838 (patch)
treed4b34c29c9eb4bcba56262ae729d3ca548456ab9 /llvm/test/CodeGen/X86/asm-modifier-P.ll
parentaedd81857702c373c6bd5adc1acba2c28f9cf333 (diff)
downloadbcm5719-llvm-ade55bc8dda9da299ded641a5e91e58e80604838.tar.gz
bcm5719-llvm-ade55bc8dda9da299ded641a5e91e58e80604838.zip
* add some assertions for sanity checking.
* remove some old code that was needed when we'd put ESP in the scale instead of the base of some instructions. * Fix a bug with the P modifier in inline asm that caused us to drop it. llvm-svn: 75077
Diffstat (limited to 'llvm/test/CodeGen/X86/asm-modifier-P.ll')
-rw-r--r--llvm/test/CodeGen/X86/asm-modifier-P.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/asm-modifier-P.ll b/llvm/test/CodeGen/X86/asm-modifier-P.ll
index b78f1a2a9c2..37f43e6f36f 100644
--- a/llvm/test/CodeGen/X86/asm-modifier-P.ll
+++ b/llvm/test/CodeGen/X86/asm-modifier-P.ll
@@ -28,7 +28,7 @@ entry:
; CHECK-64: movl %gs:per_cpu__cpu_number,%eax
; CHECK-32: test2:
-; FIXME broken: movl %gs:(%eax),%eax
+; CHECK-32: movl %gs:(%eax),%eax
%A = call i32 asm "movl %gs:${1:P},$0",
"=r,*m"(i32* @per_cpu__cpu_number) nounwind
OpenPOWER on IntegriCloud